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

RadListBox - multiple targets for transfer?

12 Answers 328 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 03 Aug 2009, 04:28 AM
Hello Telerik people,

I would like to have about 8 RadListBoxes on a page and be able to drag and drop an item from one list box to any of the other list boxes. The TransferToID property suggests that I can only have one target, is that correct? If it is possible would you please direct me to an example?

Thanks for your help,

Dave

12 Answers, 1 is accepted

Sort by
0
Dave
Top achievements
Rank 1
answered on 06 Aug 2009, 11:44 PM
Anyone? Even a quick "yes you can" or "no you can't" would be greatly appreciated.

Thank you,

Dave
0
Accepted
Genady Sergeev
Telerik team
answered on 10 Aug 2009, 02:14 PM
Hello Dave,

Unfortunately, with the integrated transfer functionality this is not possible, you are not allowed to set more than one "TrasnferTo" ids.

Best wishes,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Manuel Ortiz
Top achievements
Rank 1
answered on 16 Sep 2009, 03:20 AM
Hi, I have the same idea but with 4 listboxes.  I know that the integrated transfertoid will not work but.... how about the drag and drop?? Would it work between all the listboxes??

Thanx,
Manuel
0
Dave
Top achievements
Rank 1
answered on 16 Sep 2009, 10:50 PM
Manuel,

If it's of any use, I ended up using RadTreeViews to achieve the same idea but it wasn't fun.

David
0
Genady Sergeev
Telerik team
answered on 18 Sep 2009, 02:07 PM
Hello guys,

Transferring to multiple targets is not supported out of the box. However, it is possible to be implemented. You will have to manually handle/implement the drag and drop logic, which is not a trivial task. We might provide a KB on that topic in the future.

Greetings,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Mark Relly
Top achievements
Rank 1
answered on 29 Sep 2009, 10:28 AM
I was also looking to have multiple targets for transfer (only two mind you) so would be interested in any future knowledge base article.
0
Soren Michelsen
Top achievements
Rank 1
answered on 22 Oct 2009, 09:06 AM
Just wanted to voice my opionion: Please, please, please give us the ability to transferTo (at least with DragDrop) multiple target listboxes.

0
Dave
Top achievements
Rank 2
answered on 25 Aug 2010, 07:16 AM
+1
As we are implementing a Data Mining tool for a customer, we are interested as well to get any support available like KB for a multiple targets transfer.

David
0
Genady Sergeev
Telerik team
answered on 26 Aug 2010, 03:19 PM
Hi guys,

I suggest that you take  a look at the following code library which shows how to implement transfer among several RadListBoxes using Drag and Drop.

All the best,
Genady Sergeev
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
0
Chandra
Top achievements
Rank 1
answered on 10 Oct 2011, 09:58 AM
I used your JScript but on the server side it still shows the previous items..can you tell me how to store the values into database from server side
0
Michael Warden
Top achievements
Rank 1
answered on 19 Mar 2014, 09:20 PM
i'm trying to get this functionality where i can transfer between any combination of multiple listboxes but this solution is client-side only.  is there a way to allow transferring between any two listboxes that calls the server-side ListBox_Transferred?

Thanks
0
Princy
Top achievements
Rank 2
answered on 20 Mar 2014, 07:08 AM
Hi Michael Warden,

Please try the following sample code snippet to achieve your scenario.

ASPX:
<telerik:RadListBox ID="RadListBox1" runat="server" TransferToID="RadListBox2"   DataSourceID="SqlDataSource1" EnableDragAndDrop="true" AllowTransferDuplicates="true"   AllowTransfer="true" DataTextField="Name" AutoPostBackOnTransfer="true">
</telerik:RadListBox>
<telerik:RadListBox ID="RadListBox2" runat="server" TransferToID="RadListBox3"   EnableDragAndDrop="true" AllowTransferDuplicates="true" AllowTransfer="true"   AutoPostBackOnTransfer="true" Height="100px">
</telerik:RadListBox>
<telerik:RadListBox ID="RadListBox3" runat="server" TransferToID="RadListBox1"   EnableDragAndDrop="true" AllowTransferDuplicates="true" AllowTransfer="true"   AutoPostBackOnTransfer="true" Height="100px">
</telerik:RadListBox>

Thanks,
Princy.
Tags
ListBox
Asked by
Dave
Top achievements
Rank 1
Answers by
Dave
Top achievements
Rank 1
Genady Sergeev
Telerik team
Manuel Ortiz
Top achievements
Rank 1
Mark Relly
Top achievements
Rank 1
Soren Michelsen
Top achievements
Rank 1
Dave
Top achievements
Rank 2
Chandra
Top achievements
Rank 1
Michael Warden
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or