I am having two list boxes selected items should be added to listbox2 when i click on add from listbox1 and items should be deleted from listbox1 and vice verse please guide me in this regard
In the demos on your PC where the Telerik Controls are installed is a good demo of using Drag and Drop with a RadListControl which of course also shows adding and removing items from 2 RadListBoxes.
If you need further help however, please let me know
Thanks
Richard
Hi Richard,
I have seen the demo but I am still a bit confuse about exact working of same.
Can you please elobrate this using any event of list view?
As I am working on functionality of adding item from RadListControl to RadListView on single click and not drag and drop.
I have set the ViewType property of RadListView to ItemView.
I am using event of SelectedIndexChanged to add item to RadListView and at same time I am removing it from RadListControl.
Then on ItemRemoving event of radListView I am adding the same Item back to RadListControl.
While doing so I am getting exception of Collection can not be modified as it is read only.
Can you please help me with this?
0
Stefan
Telerik team
answered on 09 Nov 2012, 11:16 AM
Hello Sandesh,
Thank you for writing.
RadListView does not have a ViewType called ItemVIew. It has ListView, IconsView and DetailsView.
As to the approach used, I would suggest that you use the MouseDown event. Here is a sample when RadListView is in ListView mode: