Skip to main content
A newer version of this page is available. .
Tab

ASPxButton.CommandArgument Property

Gets or sets an optional parameter passed to the ASPxButton.Command event along with the associated ASPxButton.CommandName.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

A String value that represents an optional parameter passed to the ASPxButton.Command event along with the associated ASPxButton.CommandName.

Remarks

Use the CommandArgument property to specify a parameter that compliments the ASPxButton.CommandName property. Note that although you can set the CommandArgument property by itself, it is normally only used when the ASPxButton.CommandName property is also set.

The CommandArgument property complements the ASPxButton.CommandName property by allowing you to provide additional information on the command to perform. For example, if you set the ASPxButton.CommandName property to Sort and the CommandArgument property to Ascending, you specify a command to sort in ascending order.

Implements

See Also