I am using a RadTreeView. I saw the example regarding the dragging and dropping of treeview items in RadGrid. I want to drag the items from RadTreeView and drop it into a div.
In the demo it shows how to drop node in TextBox control ans setting the text value from client side (in dropOnHtmlElement method in demo). I hope this would shed some light on accomplishing your requirement. TreeView / Drag-and-drop
Thanks for your reply. Its done but another problem raised. When I drag and drop asp.net controls it works fine, but when I drop telerik controls it stops working. It gives following error: "Script controls may not be registered after PreRender."
Every item in the TreeView is basically a control like textbox, datepicker, dropdownlist etc. When I continue dropping textboxes it works fine but as soon as I drop telerik datepicker and then any other other control it gives the above error.
I tried with OnInit, PreRender, OnLoad events but of no use. The error remains the same.
Please assist me...
0
Nikolay Tsenkov
Telerik team
answered on 08 Dec 2010, 02:48 PM
Hello Rohan,
The example that you mention does exactly the same thing - checks the html element on which the drop occurs. You can check the dropOnHtmlElement function on this demo's code pages for reference.