Note.
I have de latest version of controls
Thanks
6 Answers, 1 is accepted
This functionality is not supported by the RadDock control, and you should implement a custom solution for this purpose. My suggestion is to add a custom command to the RadDock that will select or deselect a dock. Here is a demo showing how to add custom commands to your dock: http://demos.telerik.com/aspnet-ajax/dock/examples/commands/defaultcs.aspx.
Kind regards,
Pero
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

The link that you gave us teaches us how to create a raddock command. But, I have a query. I create dynamic docks. When I click on a dynamically created dock, I should navigate to a page using response.redirect(). How do I get the click event handler of a dynamically generated dock ???
My requirement is this :
I add a dock, say dock A. When I click anywhere on dock A, it should redirect me to an aspx page, say dock A.aspx which I have as part of my solution. I add 5 dynamic docks, say dock A, dock B, dock C, dock D and dock E. Clicking on those docks should take me to their respective pages. Say, if i click dock D, it should take me to D.aspx.
I am not able to add any click handlers for dynamically created docks. Is this a bug? If i add a static dock, I just double-click on it in design view and it takes me to code-behind .cs file such as :-
protected void dockA_click()
{
}
I can easily add response.redirect() method to take me to my desired page. But, it is not possible to add such a line of code when I am creating docks dynamically. Pls provide me a solution fo rmy query because I have been racking my brain for days on this issue. Any working solution is highly appreciated :) Is my above requirement possible ??? Or is it something that is lacking in raddock control?


function Dock_OnClientInitialize(dock, args) {
var dockElem = dock.get_contentContainer(); //get reference to the dock's wrapper element
$addHandler(dockElem, "click", function () {
switch (dock.get_title())//assign different pages to the docks according their title
{
case "Alarm Summary":
window.location = "AlarmSummary.aspx";
break;
case "Active Calls":
window.location = "ActiveCalls.aspx";
break;
case "Pending Calls":
window.location = "PendingCalls.aspx";
break;
case "Call Activity for Active Consoles":
window.location = "CallActivityForConole.aspx";
break;
case "Call Activity for Active Dispatchers":
window.location = "CallActivityForDispatchr.aspx";
break;
case "Call Activity for Active Endpoints":
window.location = "CallActivityForEndPnt.aspx";
break;
}
}, false);
}

Please refer to your support ticket, concerning the requested feature, in which I have suggested a solution for the described scenario.
When opening support tickets in the future, it is recommended to use a separate one for a particular problem. This will lead to much clear and easy to follow communication and faster responses on the issues at hand. That being said, my suggestion is to continue our discussion in the according support ticket.
Greetings,
Slav
the Telerik team