ASPxButton.CommandName Property
Gets or sets the command name associated with the ASPxButton control that is passed to the ASPxButton.Command event.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue("")]
public string CommandName { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
A String value that specifies the command name of the ASPx |
#Remarks
The ASPxButton.Command event is raised when the ASPxButton control is clicked. This event is commonly used when a command name (such as Sort, for instance) is associated with the button control. This allows you to create multiple button controls on a web page and programmatically determine which button control is clicked.
Note
The ASPx
Additional information about the command may be specified by using the ASPxButton.CommandArgument property.