Spread for ASP.NET 9.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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ButtonRenderer Class
ButtonRenderer Members
ButtonCommand Event

 

 


Copyright © GrapeCity, inc. All rights reserved.