Skip to main content
Tab

ASPxDockManager.ResetLayoutToInitial() Method

Returns the layout of panels managed by the ASPxDockManager to the initial state.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void ResetLayoutToInitial()

Remarks

Use the ResetLayoutToInitial method to reset all panels on the page to the initial (specified in markup) state. The method resets the panel’s allowed dock state (ASPxDockPanel.AllowedDockState), owner zone (ASPxDockPanel.OwnerZoneUID), size (ASPxWebControl.Height and ASPxWebControl.Width), position (ASPxPopupControlBase.Left and ASPxPopupControlBase.Top) etc.

Example

protected void btnReset_Click(object sender, EventArgs e) {
      MyDockManager.ResetLayoutToInitial();
}
See Also