Skip to content

Commit 7f426e7

Browse files
authored
docs(grid,treelist): Use Save button text to match the command name (#2631)
1 parent ba0bd64 commit 7f426e7

33 files changed

+43
-43
lines changed

components/contextmenu/integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ In this example, the context menu is used to select/deselect items, put an item
202202
<GridColumn Field=@nameof(SampleData.ID) Editable="false" />
203203
<GridColumn Field=@nameof(SampleData.Name) />
204204
<GridCommandColumn>
205-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
205+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
206206
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>
207207
</GridCommandColumn>
208208
</GridColumns>

components/grid/accessibility/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ The following example demonstrates the [accessibility compliance of the Grid com
138138
<GridColumn Field=@nameof(SampleData.ID) Editable="false" />
139139
<GridColumn Field=@nameof(SampleData.Name) />
140140
<GridCommandColumn>
141-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
141+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
142142
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>
143143
</GridCommandColumn>
144144
</GridColumns>

components/grid/columns/command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The following code example demonstrates declarations and handling.
115115
<GridColumn Field=@nameof(SampleData.HireDate) Title="Hire Date" />
116116
<GridCommandColumn>
117117
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
118-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true" OnClick="@CustomSaveOnClickHandler">Update</GridCommandButton>
118+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true" OnClick="@CustomSaveOnClickHandler">Save</GridCommandButton>
119119
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>
120120
<GridCommandButton Command="MyOwnCommand" Icon="@SvgIcon.InfoCircle" ShowInEdit="false" OnClick="@MyCustomCommandOnClickHandler">My Command</GridCommandButton>
121121
</GridCommandColumn>

components/grid/columns/reorder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To prevent the user from moving a certain column, set the column's `Reorderable`
2929
<GridColumn Field=@nameof(SampleData.Name) Title="First Name" />
3030
<GridColumn Field=@nameof(SampleData.LastName) Title="Last Name" />
3131
<GridCommandColumn Width="100px" Reorderable="false">
32-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
32+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
3333
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
3434
<GridCommandButton Command="Delete" Icon="@SvgIcon.Trash">Delete</GridCommandButton>
3535
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>

components/grid/editing/inline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Use the command buttons to control the CUD operations.
3939
<GridColumn Field=@nameof(SampleData.ID) Title="ID" Editable="false" />
4040
<GridColumn Field=@nameof(SampleData.Name) Title="Name" />
4141
<GridCommandColumn>
42-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
42+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
4343
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
4444
<GridCommandButton Command="Delete" Icon="@SvgIcon.Trash">Delete</GridCommandButton>
4545
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>

components/grid/editing/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ You can customize the editors rendered in the Grid by providing the `EditorType`
8484
EditorType="@GridEditorType.TextArea"
8585
Title="Name" />
8686
<GridCommandColumn>
87-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
87+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
8888
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
8989
<GridCommandButton Command="Delete" Icon="@SvgIcon.Trash">Delete</GridCommandButton>
9090
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>
@@ -223,7 +223,7 @@ Editing is cancelled for the first two records.
223223
<GridColumn Field=@nameof(SampleData.ID) Title="ID" Editable="false" />
224224
<GridColumn Field=@nameof(SampleData.Name) Title="Name" />
225225
<GridCommandColumn>
226-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
226+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
227227
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
228228
<GridCommandButton Command="Delete" Icon="@SvgIcon.Trash">Delete</GridCommandButton>
229229
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>

components/grid/editing/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To disable the built-in validation, add a `<GridValidationSettings>` tag to the
3939
<GridColumn Field=@nameof(SampleData.ID) Title="ID" Editable="false" />
4040
<GridColumn Field=@nameof(SampleData.Name) Title="Name" />
4141
<GridCommandColumn>
42-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
42+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
4343
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
4444
<GridCommandButton Command="Delete" Icon="@SvgIcon.Trash">Delete</GridCommandButton>
4545
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>

components/grid/templates/editor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ The Grid will save changes and close the current edit row (or edit cell) when th
179179
</EditorTemplate>
180180
</GridColumn>
181181
<GridCommandColumn>
182-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
182+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
183183
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
184184
</GridCommandColumn>
185185
</GridColumns>
@@ -305,7 +305,7 @@ Also check the [Grid Foreign Key Column]({%slug grids-foreign-key%}) knowledge b
305305
</Template>
306306
</GridColumn>
307307
<GridCommandColumn>
308-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
308+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
309309
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
310310
</GridCommandColumn>
311311
</GridColumns>

components/grid/toolbar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The grid offers built-in commands that you can invoke through its toolbar. To us
5050
<GridColumn Field=@nameof(SampleData.HireDate) Title="Hire Date" />
5151
<GridCommandColumn>
5252
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
53-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
53+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
5454
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>
5555
</GridCommandColumn>
5656
</GridColumns>
@@ -245,7 +245,7 @@ You can add your own HTML and components to create a more complex layout in the
245245
<GridColumn Field=@nameof(SampleData.HireDate) Title="Hire Date" />
246246
<GridCommandColumn>
247247
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
248-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
248+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
249249
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>
250250
</GridCommandColumn>
251251
</GridColumns>

components/scheduler/manual-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Using Telerik DataSource extension methods to manipulate all the data into paged
124124
<GridColumn Field=@nameof(Employee.Name) Title="Name" />
125125
<GridColumn Field=@nameof(Employee.HireDate) Title="Hire Date" />
126126
<GridCommandColumn>
127-
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Update</GridCommandButton>
127+
<GridCommandButton Command="Save" Icon="@SvgIcon.Save" ShowInEdit="true">Save</GridCommandButton>
128128
<GridCommandButton Command="Edit" Icon="@SvgIcon.Pencil">Edit</GridCommandButton>
129129
<GridCommandButton Command="Delete" Icon="@SvgIcon.Trash">Delete</GridCommandButton>
130130
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" ShowInEdit="true">Cancel</GridCommandButton>

0 commit comments

Comments
 (0)