This is a migrated thread and some comments may be shown as answers.

Drag Grid Row to a Dynamically-Created Dock Control

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 07 Nov 2012, 03:43 PM
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?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 12 Nov 2012, 09:38 PM
Hello,

Go through the forum thread below and see if it helps:
http://www.telerik.com/community/forums/aspnet-ajax/grid/dragndrop-between-grids-in-different-user-controls.aspx

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Jeff
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or