PopupControlSettings.ClientLayout Property
Enables you to save and restore the previously saved layout of the PopupControl.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
ASPxClientLayoutHandler | A ASPxClientLayoutHandler method to which custom processing is delegated. |
Remarks
Provide implementation of the delegated method to save and restore the PopupControl’s layout from a data store.
Save Layout
The method parameter’s ASPxClientLayoutArgs.LayoutMode property returns ClientLayoutMode.Saving. The ASPxClientLayoutArgs.LayoutData property contains the PopupControl’s current layout that should be saved, for example, to a database.
Restore Layout
The ASPxClientLayoutArgs.LayoutMode property returns ClientLayoutMode.Loading. Read the PopupControl’s layout data from a data store and assign it to the ASPxClientLayoutArgs.LayoutData property.