The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientDockZone.AfterDock Event

Fires on the client side after a panel is docked in a zone.

Declaration

AfterDock: ASPxClientEvent<ASPxClientDockZoneProcessingModeEventHandler<ASPxClientDockZone>>

Event Data

The AfterDock event handler receives an argument of the ASPxClientDockZoneProcessingModeEventArgs type. The following properties provide information specific to this event.

Property Description
panel Gets the panel currently being processed.
processOnServer Gets or sets a value that specifies whether the event should be finally processed on the server side.

Remarks

Write an AfterDock event handler to perform specific actions on the client side after each time the panel is docked. You can use the event parameter's property to identify a panel (ASPxClientDockManagerProcessingModeEventArgs.panel) currently being processed.

If the processOnServer property is set to false, the AfterDock event is completely handled on the client side, using the assigned JScript handler without a postback to the server.

Setting the processOnServer property to true indicates that the final processing of the event should be performed on the server side, and so a round trip to the server is required. During such a round trip the corresponding server-side ASPxDockZone.AfterDock event is fired which when handled allows any desired server-side action to be performed.

Note

The AfterDock event fires only when you dock a panel by dragging it. If you dock a panel programmatically (e.g. by setting the ASPxDockPanel.OwnerZoneUID property) it does not result in firing the event.

To learn more see the Common Docking Events topic.

See Also