New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnClientDragEnd

The OnClientDragEnd client-side event occurs when the user drops a RadDock control after a drag operation. This event occurs after the OnClientDockPositionChanged event.

The event handler receives a single parameter: the instance of the RadDock control that the user just dropped.

The following example uses the OnClientDragEnd event handler to restore a RadDock control to its expanded state after it was collapsed for the duration of a drag operation:

ASP.NET
<script type="text/javascript">
    function Collapse(dock, e)
    {
        dock.set_collapsed(true);
    }
    function Expand(dock, e)
    {
        dock.set_collapsed(false);
    }
</script>
<telerik:RadDockLayout ID="RadDockLayout1" runat="server">
 <telerik:RadDockZone ID="RadDockZone1" runat="server">
   <telerik:RadDock
     ID="RadDock1"
     runat="server"
     OnClientDragStart="Collapse"
     OnClientDragEnd="Expand" />   
 </telerik:RadDockZone>
</telerik:RadDockLayout>

See Also

In this article
See Also
Not finding the help you need?
Contact Support