Hi, all.
I have a question regarding the RadGrid, RadDock and Javascript. I have a page that creates dynamic docks upon the user's request. The docks the users select will have their own separate .ascx controls loaded into them. One of these is a RadGrid and the other is the RadScheduler (both may or may not be loaded, depending on the user's configuration). I've seen the demo where a grid row is dragged to the scheduler, but I'm having some trouble replicating it since I can't use '<%= FindControl("schedCtrl").ClientID %>'; the page errors out since that control doesn't exist on the .aspx page at first. I've also tried to use eventArgs.get_destinationHtmlElement, but that only gives me the rendered div tag and not the actual control ID.
Is there something that I've missed or is there another way to get to the control's ClientID inside of another dynamic control?
I have a question regarding the RadGrid, RadDock and Javascript. I have a page that creates dynamic docks upon the user's request. The docks the users select will have their own separate .ascx controls loaded into them. One of these is a RadGrid and the other is the RadScheduler (both may or may not be loaded, depending on the user's configuration). I've seen the demo where a grid row is dragged to the scheduler, but I'm having some trouble replicating it since I can't use '<%= FindControl("schedCtrl").ClientID %>'; the page errors out since that control doesn't exist on the .aspx page at first. I've also tried to use eventArgs.get_destinationHtmlElement, but that only gives me the rendered div tag and not the actual control ID.
Is there something that I've missed or is there another way to get to the control's ClientID inside of another dynamic control?