5 Answers, 1 is accepted
0
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
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.
0
Brad
Top achievements
Rank 1
answered on 09 Dec 2010, 11:08 PM
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.
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.
0
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
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.
0
AM
Top achievements
Rank 1
answered on 31 Jan 2011, 01:32 PM
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.
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.
0
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
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.