Skip to main content
Tab

TabbedLayoutGroupTabPageSettings.AutoPostBack Property

Gets or sets a value that specifies whether server-side processing is required for specific predefined user actions.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

[DefaultValue(false)]
public bool AutoPostBack { get; set; }

Property Value

Type Default Description
Boolean

false

true, if server-side processing is required, otherwise, false.

Property Paths

You can access this nested property as listed below:

Remarks

Use the AutoPostBack property to control whether a predefined user action (such as an active tab change, for instance) can be completely processed on the client side by handling an appropriate client-side event (such as the ASPxClientTabControlBase.ActiveTabChanging in this instance); or a round trip to the server is required so that the action is finally processed on the server side with the help of the corresponding server-side event (such as the ASPxTabControlBase.ActiveTabChanging event).

Note that the available client-side events whose handlers are assigned in a tab control are always fired regardless of the AutoPostBack property’s setting. The AutoPostBack property’s value only affects the default value of the processOnServer property which is passed to the tab control’s specific client-side events. If the AutoPostBack property is set to true the end-user action is first processed via the corresponding client-side event and only after that is the server-side processing performed if it has not been canceled by setting of the client-side event’s processOnServer property. If the value of the AutoPostBack property is false, a specific user action which has a corresponding server-side event can also be processed on the server side by setting the processOnServer property to true in the client event’s handler.

See Also