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

Drag and Drop of grid items (from a RadGrid to RadTreeView)

5 Answers 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dilip
Top achievements
Rank 1
Dilip asked on 04 Dec 2009, 02:56 PM
Hi Telerik Team,
                           I have a requirement of dragging items from grid view and drop them to a RadTreeView which are in two seperate
user controls. 
Further:
1. aspx page  - A
2. user conrol1 (Grid Here) - B
3. user conrol2 (RadTreeView Here)  - C
                            B and C are in A. Is there any way of dragging row items from grid and get the required values from it when it is droped on to the TreeView 
and
Get to know what the TreeView node, to which the item will be dropped at the time of dropping the item to it?

I'm going through your http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx example.

Thanks,
Dilip

5 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 08 Dec 2009, 07:31 AM
Hello dilip,

 The following example should give you enought directions on how to approach your scenario:
http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx

Best wishes,
Tsvetoslav
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
anil
Top achievements
Rank 1
answered on 05 Jul 2011, 03:35 PM
Hi sir, 

 i downloaded "DragNDropToReorderRowsInGrid" but in this application only customerid is getting updated but not the other fields . i saw above mentioned page, and its exactly what i want , but i am not being able to download it. can you please help me in downloading this application "http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx". i copied Defaultcs.aspx  and Defaultcs.aspx.cs, but its not working as i am missing dlls. please help me out.
 
i would be highly greatful to you

Thanks 
Anil
0
Iana Tsolova
Telerik team
answered on 08 Jul 2011, 09:58 AM
Hello Anil,

If you install the RadContros for ASP.NET AJAX from the .msi file, the demo application which you see live will be installed on your machine. Then you will be able to open either web site for browsing or in Visual Studio from the Windows Start menu.

Regards,
Iana
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
anil
Top achievements
Rank 1
answered on 13 Jul 2011, 03:28 PM


Hello Telerik Team,

Finally i was able to run drag and drop functionlity "http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx"
 in my Vs2008. But I have issue on it. 

 After drag and drop its not updating table.i want to update my table in database immediately after drag and drop. Table should have data in same order as we see after we do  drag and drop. when we refresh page , data remains as it is, but when we run application again, it does not come in same way as we had seen after drag and drop.

please help me in this matter.
And thanks for all the helps that you are doing.

hope to hear soon from you.

Thanks
Anil
0
Iana Tsolova
Telerik team
answered on 14 Jul 2011, 11:35 AM
Hello Anil,

To achieve this you will need to update your database using your own scripts and using your logic for implementing the database operations. Furthermore, I am afraid that implementing this task is rather out of the scope of the UI components. 

Best wishes,
Iana
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Dilip
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
anil
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or