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

Latest example of Grid to Grid Drag Drop

7 Answers 138 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Charles
Top achievements
Rank 1
Charles asked on 10 Jun 2010, 08:22 PM
Could someone please post a link to the latest example of Grid to Grid drag drop.  I've searched and downloaded what seems to be 3 different versions none of which I can get to work.   I'm attempting to get sample running on Microsoft Visual C# 2010 and .net4.   Any help is GREATLY appreciated.

7 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 16 Jun 2010, 12:43 PM
Hi Charles,

I am not really sure if I understand your scenario correctly. However, I prepared a sample project illustrating how you can drag items from one grid to another.

Please take a look at it and let me know if this is what you had in mind or if your scenario requires a different approach. If this is the case, then can you please elaborate on your scenario and I will be more than happy to provide you with a more suitable solution.

I am looking forward to your reply.

All the best,
Tina Stancheva
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Charles
Top achievements
Rank 1
answered on 21 Jun 2010, 10:07 PM
Tina,

Thank you very much for the reply.  I should have been more clear.  I'm trying to drag and drop between two Gridviews in WPF.  I found this example:

http://www.telerik.com/community/forums/wpf/draganddrop/drag-drop-within-a-gridwiew.aspx

But could not get it to compile in 2010 and .NET 4.

Thanks in advance.

Charles



0
Tina Stancheva
Telerik team
answered on 23 Jun 2010, 08:35 AM
Hello Charles,

I attached a sample project illustrating how to implement drag and drop between two GridViews in WPF.

Please take a look at it and let me know if this is what you had in mind.

Best wishes,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Wasif Jahangir
Top achievements
Rank 1
answered on 18 Jul 2010, 08:04 AM
Hi,
  Everything is works fine but when i placed my drag drop grids inside popup the info DataTamplate is not properly placed i.e. not under mouse position.

in attached snapshot u cansee the green info is on the left to where the mouse was clicked.
0
Miroslav
Telerik team
answered on 21 Jul 2010, 09:37 PM
Hi Wasif,

Unfortunately dragging in Popups and between Windows is not supported by the current version of the DragDropManager.

I can suggest displaying the dialog in a layer that appears in front of the content but is not a Popup.

Kind regards,
Miroslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Charles
Top achievements
Rank 1
answered on 26 Jul 2010, 02:51 PM
Telerik Team,

Thank you for the example.  I was able to get it to work and provide demo to client.   They are definitely going to move forward and I will be purchasing your tools.   That being said,  client is now considering silverlight instead of WPF.   Can you please confirm that drag drop between two gridviews just like the example you provided in WPF will work in Silverlight.   Thank you very much for your help.

Charles
0
Tina Stancheva
Telerik team
answered on 26 Jul 2010, 03:50 PM
Hello Charles,

Yes, you can implement drag and drop operations between GridViews in Silverlight as well and the approach is the same as in WPF.

I attached a sample project to illustrate how to implement such a scenario. Take a look at it and let me know if it works for you.

You can also implement drag and drop inside one GridView. More information about this scenario you can find here.

Give it a try and let us know if you need more info.

Regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DragAndDrop
Asked by
Charles
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Charles
Top achievements
Rank 1
Wasif Jahangir
Top achievements
Rank 1
Miroslav
Telerik team
Share this question
or