"allowtransfer" to other controls (radgrid)?

6 posts, 0 answers
  1. Brad
    Brad avatar
    12 posts
    Member since:
    May 2010

    Posted 30 Nov 2010 Link to this post

    Is it possible to transfer items to\from a listbox to\from other types of controls? Or is it exclusive feature for listboxes? I'd really like to transfer items from a radgrid to a listbox.
    Thanks.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 03 Dec 2010 Link to this post

    Hello Brad,

    Yes, it is possible. Please see this demo. It shows transfer between RadListBox and RadTreeView, but essentially the approach is the same with any other Telerik control that has draggable items. For RadGridView in particular you can refer to the Grid/ Items Drag-and-drop demo.


    Best wishes,
    Peter
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brad
    Brad avatar
    12 posts
    Member since:
    May 2010

    Posted 09 Dec 2010 Link to this post

    Ok. But I have no need to drag and drop.
    I'd just like to double-click and transfer an item from a grid to another grid. Thought this would be a somewhat typical approach to a multi-select control.
  5. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 15 Dec 2010 Link to this post

    Hello Brad,

    This functionality is not provided out of the box by RadListBox and in general it is hardly possible to transfer items among RadListBox and RadGrid. Some serious custom coding would be required.

    Kind regards,
    Genady Sergeev
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  6. AM
    AM avatar
    17 posts
    Member since:
    Mar 2010

    Posted 31 Jan 2011 Link to this post

    Hi,

    Is it possible to drag and drop items between a listbox and a particular grid cell?
    I have a scenario where I want the user to map two sets of columns where the source columns are completely dynamic (different table structures) and the destination set of columns are fixed.
    To achieve this, I was thinking of having a listbox contianing a source set of columns and then having a radgrid with 2 columns - 1 for the destination columns and the other column blank so that the user can drag and drop items from the listbox to the blank grid cells to do the mapping.
  7. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 03 Feb 2011 Link to this post

    Hi AM,

    How would you represent columns in RadListBox? I believe that it is possible to implement that scenario using RadListBox and RadGrid. I suggest that you use the OnClientDragging/Dropping events in order to inspect the element that you are trying to drop onto and then If it is the needed cell, manually insert the item being dragged into RadGrid, using the grid client side API.


    Regards,
    Genady Sergeev
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017