The OnClientDockPositionChanged client-side event occurs when the user has just changed the position of a RadDock control by dragging it to a new location.This event occurs before the server-side OnDockPositionChanged event or client-side OnClientDragEnd event.
The event handler receives a single parameter: the instance of the RadDock control that has just been moved. It's properties have already been updated to reflect its new position.
Unlike the server-side OnDockPositionChanged event, OnClientDockPositionChanged occurs even if the RadDock control is dropped in the same position that it started.
The following example uses the OnClientDockPositionChanged event to pin a RadDock control if it is dragged to a floating position: