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?