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

4 posts, 0 answers
  1. Ramraj
    Ramraj avatar
    15 posts
    Member since:
    Jun 2010

    Posted 06 Feb 2012 Link to this post

    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
  2. Tsvyatko
    Admin
    Tsvyatko avatar
    863 posts

    Posted 07 Feb 2012 Link to this post

    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 >>
  3. Ramraj
    Ramraj avatar
    15 posts
    Member since:
    Jun 2010

    Posted 07 Feb 2012 Link to this post

    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
  4. Ramraj
    Ramraj avatar
    15 posts
    Member since:
    Jun 2010

    Posted 15 Feb 2012 Link to this post

    Hi Tsvyatko & team,

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

    Thanks,
    Ramraj S
Back to Top