PostBackOptions.ClientSubmit Property

 

Gets or sets a value indicating whether the postback event should occur from client-side script.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public bool ClientSubmit { get; set; }

Property Value

Type: System.Boolean

true if the postback event should occur from client-side script; otherwise, false. The default value is true.

The ClientSubmit property indicates whether the postback event should occur from client-side script. If you set the ClientSubmit property to false, then no JavaScript is generated. You might assign false to the ClientSubmit property if you want to call the __doPostBack method yourself.

.NET Framework
Available since 2.0
Return to top
Show: