Skip to content

Commit a9db8fd

Browse files
chore(common): sync with Preview 8 breaking changes
1 parent b8db3fe commit a9db8fd

File tree

17 files changed

+20
-23
lines changed

17 files changed

+20
-23
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
.vs
23
.asset-cache/
34
.dockerignore
45
.DS_Store

_contentTemplates/treeview/basic-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
2323
public IEnumerable<TreeItem> FlatData { get; set; }
2424
25-
protected override void OnInit()
25+
protected override void OnInitialized()
2626
{
2727
LoadFlatData();
2828
}

components/grid/editing/incell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ To enable InCell editing mode, set the `EditMode` property of the grid to `incel
113113
114114
public List<SampleData> MyData { get; set; }
115115
116-
protected override void OnInit()
116+
protected override void OnInitialized()
117117
{
118118
MyData = new List<SampleData>();
119119

components/grid/editing/inline.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ To enable Inline editing in the grid, set its `EditMode` property to `inline`, t
133133
134134
public List<SampleData> MyData { get; set; }
135135
136-
protected override void OnInit()
136+
protected override void OnInitialized()
137137
{
138138
MyData = new List<SampleData>();
139139
@@ -159,4 +159,3 @@ To enable Inline editing in the grid, set its `EditMode` property to `inline`, t
159159

160160
* [Live Demo: Grid Inline Editing](https://demos.telerik.com/blazor-ui/grid/editing-inline)
161161

162-

components/grid/editing/overview.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ There is a deliberate delay in the data source operations in this example to mim
176176
177177
public List<SampleData> MyData { get; set; }
178178
179-
protected override void OnInit()
179+
protected override void OnInitialized()
180180
{
181181
MyData = new List<SampleData>();
182182
@@ -203,4 +203,3 @@ There is a deliberate delay in the data source operations in this example to mim
203203
* [Live Demo: Grid Custom Editor Template](https://demos.telerik.com/blazor-ui/grid/custom-editor)
204204
* [Live Demo: Grid Custom Edit Form](https://demos.telerik.com/blazor-ui/grid/editing-custom-form)
205205

206-

components/grid/editing/popup.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ The PopUp editing mode supports [validation]({%slug common-features/input-valida
138138
139139
public List<SampleData> MyData { get; set; }
140140
141-
protected override void OnInit()
141+
protected override void OnInitialized()
142142
{
143143
MyData = new List<SampleData>();
144144
@@ -164,4 +164,3 @@ The PopUp editing mode supports [validation]({%slug common-features/input-valida
164164

165165
* [Live Demo: Grid PopUp Editing](https://demos.telerik.com/blazor-ui/grid/editing-popup)
166166

167-

components/grid/filtering.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Once a filter is a applied to a column, a button will appear that lets you clear
4646
@code {
4747
public List<Employee> GridData { get; set; }
4848
49-
protected override void OnInit()
49+
protected override void OnInitialized()
5050
{
5151
GridData = new List<Employee>();
5252
var rand = new Random();
@@ -106,7 +106,7 @@ A key difference in the behavior from the [filter row](#filter-row) is that the
106106
@code {
107107
public List<Employee> GridData { get; set; }
108108
109-
protected override void OnInit()
109+
protected override void OnInitialized()
110110
{
111111
GridData = new List<Employee>();
112112
var rand = new Random();
@@ -143,4 +143,3 @@ A key difference in the behavior from the [filter row](#filter-row) is that the
143143

144144
* [Live Demo: Grid Filter Row](https://demos.telerik.com/blazor-ui/grid/filter-row)
145145
* [Live Demo: Grid Filter Menu](https://demos.telerik.com/blazor-ui/grid/filter-menu)
146-

components/grid/manual-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ There is a deliberate delay in the data source operations in this example to mim
148148
public List<Employee> GridData { get; set; }
149149
public int Total { get; set; } = 0;
150150
151-
protected override void OnInit()
151+
protected override void OnInitialized()
152152
{
153153
SourceData = GenerateData();
154154
}

components/grid/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To create a basic Telerik Grid:
4848
public DateTime HireDate { get; set; }
4949
}
5050
51-
//in a real case, consider fetching the data in an appropriate event like OnInitAsync
51+
//in a real case, consider fetching the data in an appropriate event like OnInitializedAsync
5252
//also, consider keeping the models in dedicated locations like a shared library
5353
//this is just an example that is easy to copy and run
5454
}

components/grid/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ If you need to perform logic more complex than simple data binding, use the chan
194194
}
195195
}
196196
197-
protected override void OnInit()
197+
protected override void OnInitialized()
198198
{
199199
MyData = new List<SampleData>();
200200

0 commit comments

Comments
 (0)