Skip to content

Commit 4a327f6

Browse files
authored
docs(grid): update command name for rebinding the grid
1 parent 4783d38 commit 4a327f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

controls/grid/data-editing/commanditem/command-item-template.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ If you have two buttons, you can place the buttons in a **HTML table** embedded
157157
<td width="40%">
158158
</td>
159159
<td width="30%">
160-
<asp:LinkButton ID="LinkButton9" Text="Refresh data" CommandName="Rebind" runat="server"></asp:LinkButton>
160+
<asp:LinkButton ID="LinkButton9" Text="Refresh data" CommandName="RebindGrid" runat="server"></asp:LinkButton>
161161
</td>
162162
</tr>
163163
</table>
@@ -247,7 +247,7 @@ There are cases in which you may want to display different controls inside the t
247247
<td width="40%">
248248
</td>
249249
<td width="30%">
250-
<asp:LinkButton ID="btnRefresh" Text="Refresh data" CommandName="Rebind" runat="server"></asp:LinkButton>
250+
<asp:LinkButton ID="btnRefresh" Text="Refresh data" CommandName="RebindGrid" runat="server"></asp:LinkButton>
251251
<asp:LinkButton ID="btnUpdate" Text="Update edited" CommandName="UpdateEdited" runat="server"></asp:LinkButton>
252252
</td>
253253
</tr>
@@ -330,7 +330,7 @@ private class MyCommandItemTemplate : ITemplate
330330
refreshButton = new LinkButton();
331331
refreshButton.ID = "refreshButton";
332332
refreshButton.Text = "Refresh grid";
333-
refreshButton.CommandName = "Rebind";
333+
refreshButton.CommandName = "RebindGrid";
334334

335335
container.Controls.Add(addButton);
336336
container.Controls.Add( new LiteralControl(" "));
@@ -381,7 +381,7 @@ Private Class MyCommandItemTemplate
381381
refreshButton = New LinkButton
382382
refreshButton.ID = "refreshButton"
383383
refreshButton.Text = "Refresh grid"
384-
refreshButton.CommandName = "Rebind"
384+
refreshButton.CommandName = "RebindGrid"
385385

386386
container.Controls.Add(addButton)
387387
container.Controls.Add(New LiteralControl(" "))

0 commit comments

Comments
 (0)