Spread for ASP.NET 8.0 Product Documentation
CommandName Property (ButtonRenderer)


Gets or sets the name of the command to perform.
Syntax
'Declaration
 
Public Property CommandName As String
'Usage
 
Dim instance As ButtonRenderer
Dim value As String
 
instance.CommandName = value
 
value = instance.CommandName
public string CommandName {get; set;}

Property Value

String containing the name of the command
Remarks
Use this property to specify the command to perform when the button is clicked. This property can contain any string. Write code in the ButtonCommand event to perform the action associated with the command name.
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

ButtonRenderer Class
ButtonRenderer Members
ButtonCommand Event

 

 


Copyright © GrapeCity, inc. All rights reserved.