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

Transferring row selected in a radGrid control to another RadGrid

1 Answer 148 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 22 Jul 2010, 07:32 PM
Hi,

I am looking for a strategy to accomplish the following:

I am looking for a behaviour similar to linked list boxed where I can move selection from one to another except that I am trying to accomplish the same with 2 RadGrid like so:

<RadGrid1>

<RadWindow>
<RadGrid2>
</RadWindow>

I select some rows from RadGrid2 and pass them onto radgrid1 where both rad grids are fed from the same db persisted collections.
Radgrid2 has cheeckboxes in the records that I tag and then I can pass them to the RadGrid1 after a button click.

I am thinking of implementing this with Javascript (Client side) but is there another way of doing this that takes advantage of Telerik control features ?

Thanks in Advance,
Tuka

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 27 Jul 2010, 05:43 PM
Hi Simon,

The following online example demonstrates how to pass data between RadWindow and RadGrid:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid
 
You can use the same approach to pass the data keys of the selected items of RadGrid2 to RadGrid1, then on the server do the necessary database operations and rebind RadGrid2.

Hope it helps.

Best wishes,
Tsvetoslav
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
Grid
Asked by
Simon
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or