Skip to main content
Tab

ASPxButton.UseSubmitBehavior Property

Gets or sets a value indicating whether the button control uses the client browser’s submit mechanism or the ASP.NET postback mechanism.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public virtual bool UseSubmitBehavior { get; set; }

Property Value

Type Default Description
Boolean true

true if the control uses the client browser’s submit mechanism; otherwise, false.

Remarks

Use the UseSubmitBehavior property to specify whether a button control uses the client browser’s submit mechanism or the ASP.NET postback mechanism. By default the value of this property is true, causing the button control to use the browser’s submit mechanism. If you specify false, the ASP.NET page framework adds client-side script to the page to post the form to the server.

See Also