RadGrid for ASP.NET

RadGrid Send comments on this topic.
UpdateCommandName Field
See Also 
Telerik.WebControls Namespace > RadGrid Class : UpdateCommandName Field


Represents the "Update" command name. This field is read-only. 

Example

The example below demonstrates how to use the Update command within an EditItemTemplate.

            <rad:GridTemplateColumn UniqueName="TemplateColumn">
                
                <EditItemTemplate>
                
                    <asp:LinkButton runat="server" ID="Update" Text="Update" CommandName="Update">
                
                    </asp:LinkButton>
                
                </EditItemTemplate>
                
            </rad:GridTemplateColumn>
            

 

Namespace: Telerik.WebControls
Assembly: RadGrid (in RadGrid.dll)

Syntax

Visual Basic (Declaration) 
Public Shared UpdateCommandName As String
Visual Basic (Usage)Copy Code
Dim value As String
 
value = RadGrid.UpdateCommandName
 
RadGrid.UpdateCommandName = value
C# 
public static string UpdateCommandName

Example

The example below demonstrates how to use the Update command within an EditItemTemplate.

            <rad:GridTemplateColumn UniqueName="TemplateColumn">
                
                <EditItemTemplate>
                
                    <asp:LinkButton runat="server" ID="Update" Text="Update" CommandName="Update">
                
                    </asp:LinkButton>
                
                </EditItemTemplate>
                
            </rad:GridTemplateColumn>
            

Remarks

Use the UpdateCommandName field to represent the "Update" command name.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also