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

Drag and drop of SL Grid Column headers alone into a listbox

3 Answers 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ramraj
Top achievements
Rank 1
Ramraj asked on 06 Feb 2012, 01:11 PM
Hi Team,

Need a help in dropping a Silverlight Telerik Grid Column name in to a list box as a listbox item, where i use DragAndDrop control as a base.

Exact case:
I have a grid with namely 5 columns -> S.No, Name, ID Details, Token, Summary. With each column containing details.
I have a empty list box. DragAndDrop controls holds both the controls for swapping purpose. The need is i need to swap the grid column header content to listbox item and i need to retrieve back data when dragged back to grid.

Problem i face is i need to Drop "Token" column header into a listbox item. where all column contents should get binded within it. Please share a sample project for this drag and drop case.

Thanks,
Ramraj

3 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 07 Feb 2012, 11:14 AM
Hello Ramraj,

 I have prepared simple applicaiton demonstrating how to move header cell content into listbox. Please have a look and let us know if this helps.

Regards,
Tsvyatko
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Ramraj
Top achievements
Rank 1
answered on 07 Feb 2012, 11:47 AM
Hi Tsvyatko,

The solution is was a bit useful.
But actually,
1.we need the column entire content to be dragged and dropped Vice versa in Grid as well as in ListBox..
2.If the column header is moved out of Grid, the column should not be in Grid and header alone should be placed in ListBox. In the reverse case, when an item moved from listbox is moved to Grid, the Columns entire content should be placed back in Grid. This is the exact case of expectation. These all are done in the base of DragAndDrop Control.

Kindly help in this aspect and thanks for your quick turn around.

Regards,
Ramraj
0
Ramraj
Top achievements
Rank 1
answered on 15 Feb 2012, 11:02 AM
Hi Tsvyatko & team,

Any updates on this please. It may prove useful if there is a solution. Thanks in advance.

Thanks,
Ramraj S
Tags
GridView
Asked by
Ramraj
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Ramraj
Top achievements
Rank 1
Share this question
or