Skip to main content
Tab

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

Declaration

[DefaultValue("")]
public string CommandName { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the command name of the ASPxButton control.

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 ASPxButton.Command event is raised through the control hierarchy in the form of the BubbleEvent.

Additional information about the command may be specified by using the ASPxButton.CommandArgument property.

Implements

See Also