Skip to main content

ASPxClientDockManager.PanelClosing Event

Occurs on the client side before a panel is closed, and allows you to cancel the action.

Declaration

PanelClosing: ASPxClientEvent<ASPxClientDockManagerCancelEventHandler<ASPxClientDockManager>>

Event Data

The PanelClosing event's data class is ASPxClientDockManagerCancelEventArgs. The following properties provide information specific to this event:

Property Description
cancel Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
panel Gets the panel currently being processed.

Remarks

The ASPxDockManager’s client-side functionality provides the capability to respond to end-user manipulation of panels. Write a PanelClosing event handler to perform specific actions on the client side before a panel is closed.

The PanelClosing event provides an argument of the ASPxClientDockManagerCancelEventArgs type. You can use the event parameter’s properties to identify a panel (ASPxClientDockManagerCancelEventArgs.panel) currently being processed or cancel the action by setting the ASPxClientCancelEventArgs.cancel property to true

See Also