IModelActionWeb.IsPostBackRequired Property
Specifies whether a postback should be performed when the Action is executed.
Namespace: DevExpress.ExpressApp.Web.SystemModule
Assembly: DevExpress.ExpressApp.Web.v19.1.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true, to perform a postback when the Action is executed; false, to perform a callback. |
Remarks
Set the IsPostBackRequired property to true for Actions that should be executed on postback. For instance, the built-in Export Action is executed on postback, because a postback is required to transmit a file to the client. An example of using this property is provided in the How to: Print a Report Without Displaying a Preview topic.
Important
Set this property to true when implementing a custom Action that initiates a file download in a web application.
See Also