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

looking for help on moving row from a grid on a form to another grid on another form scenerio...see message for more detail

1 Answer 31 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Joshua Gates
Top achievements
Rank 1
Joshua Gates asked on 05 Sep 2011, 06:25 AM
Hello,
I am trying to acheive the following scenerio and was hoping i could get some guidance or even a sample. Here is the scenerio.

I have a form with 2 raddocks on it. I am loading my forms into the left raddock which is on the left. one of the forms is a searching feature for searching inventory. on the second dock i am loading a sale order form. when a user does a search for inventory i am wanting them to be able to drag a row from the search results (gridview) to an identical gridview on the other form(sale order form). Right now i have a collection on the order form which stores which inventory items it has. i then bind the grid view to the collection to show current inventory that belongs to the sales order. ideally what i would like to happen is a user selects an item (row) from the gridview on form1 and can drag it over to the other form at which time i populate the collection on that form and bind its gridview to that collection?
is it possible to drag and drop a row from a grid on one form to a grid on another form if so...how can i accomplish this?


Thanks,
Joshua Gates

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 07 Sep 2011, 06:22 PM
Hi Joshua Gates,

You can extend the behavior of RadGridView to support drag and drop among different instances. You can read more about that in the following resources:


Notice that the drag and drop works only in unbound mode. This is limitation that we are planing to address in one of the next releases.

Regards,
Svett
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
GridView
Asked by
Joshua Gates
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or