New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


The OnClientDragStart client-side event occurs when the user begins to drag the RadDock control from its current position.

The event handler receives a single parameter: the instance of the RadDock control that the user is starting to drag.

The following example uses the OnClientDragStart event handler to make the RadDock control transparent for the duration of a drag operation:

<script type="text/javascript">
    function OnClientDragStart(sender)
        var dockElement = sender.get_element(); = "0.7"; = "0.7"; = "alpha(opacity=70)";

    function OnClientDragEnd(sender)
        var dockElement = sender.get_element(); = ""; = ""; = "";
<telerik:RadDockLayout ID="RadDockLayout1" runat="server">
 <telerik:RadDockZone ID="RadDockZone1" runat="server">
     OnClientDragEnd="OnClientDragEnd" />   

See Also

In this article