Set Dock Handle

The RadDock control can be dragged using Grips or TitleBar depending on the DockHandle property. Furthermore, client-side you can set an element within the content of RadDock to be recognized as the drag element instead of the titlebar and grips. This is possible through RadDock object's client-side method set_handle.

To set a dock handle, follow the steps below:

1) Set the content of the RadDock object:

<telerik:raddock id="RadDock4" runat="server">
<contenttemplate>
You can drag this object using the image below:
<img id="HandleImage4" src="../Skinning/Thumbnails/Blue.gif" alt="Image" />
</contenttemplate>
</telerik:raddock>

2) Handle onclientinitialize of RadDock - in the handler function get reference to your RadDock object and also the object within RadDock's template that you would like to set as a dock handle. Then, use set_handle method to set the RadDock's new handle element.