RadGrid for ASP.NET

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


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

Example

The example below demonstrates how to use the DeleteSelected command within an CommandItemTemplate.

                <CommandItemTemplate>
            
                    <asp:LinkButton runat="server" ID="DeleteSelected" Text="Delete Selected" CommandName="DeleteSelected">
                
                    </asp:LinkButton>
            
                </CommandItemTemplate>
            

 

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

Syntax

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

Example

The example below demonstrates how to use the DeleteSelected command within an CommandItemTemplate.

                <CommandItemTemplate>
            
                    <asp:LinkButton runat="server" ID="DeleteSelected" Text="Delete Selected" CommandName="DeleteSelected">
                
                    </asp:LinkButton>
            
                </CommandItemTemplate>
            

Remarks

Use the DeleteSelectedCommandName field to represent the "DeleteSelected" command name.

Requirements

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

See Also