System.Web.UI.PostBackOptions.ClientSubmit Property

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

Syntax

[System.ComponentModel.DefaultValue(true)]
public bool ClientSubmit { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0