Tab
A newer version of this page is available. Switch to the current version.

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; }
<DefaultValue("")>
Public Property CommandArgument As String

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