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

How to move SeletedItems from Source Listbox to Destination Listbox using method in pageload event

1 Answer 29 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Purnasekhar
Top achievements
Rank 1
Purnasekhar asked on 23 Aug 2012, 01:10 PM
Hi All,

I have method in page load, in this method based on database values, i will select Source Listbox items.These values i need to transfer to Destination Listbox.
Can any one help me on this ? it's very urgent....


Thanks in advance..

by
Sekhar

1 Answer, 1 is accepted

Sort by
0
Purnasekhar
Top achievements
Rank 1
answered on 23 Aug 2012, 01:36 PM
I got it..
find the below code..

Private void Transfer()
{
RadListBoxItem founditem = radListBoxSource.FindItemByText("Aalok");
      radListBoxSource.Transfer(founditem, radListBoxSource, RadListBoxDestination);

}
Tags
ListBox
Asked by
Purnasekhar
Top achievements
Rank 1
Answers by
Purnasekhar
Top achievements
Rank 1
Share this question
or