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

Transfering Items programatically

1 Answer 36 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Tadhg Lydon
Top achievements
Rank 1
Tadhg Lydon asked on 27 May 2010, 04:49 PM
I have a aspx page with two list box, one that gets filled on page load and one that acts as the destination box.

This is working fine but now I'm looking to find a way for the user to click a button and to move any items that exist in the source listbox with a certain value and move to destination listbox.

Is there a simple of way of doing this?

I looked at looping through the items in the source listbox, but when I removed a matching item from source and added to destination the code stopped as the collection had changed.

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 28 May 2010, 04:44 PM
Hello Tadhg Lydon,

I suggest that you use the integrated RadListBox transfer capabilities. Please, take a look at the following demo and at this help article for more information on how to proceed.

Regards,
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.
Tags
ListBox
Asked by
Tadhg Lydon
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or