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

Deselect is not working in list box.

4 Answers 77 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
chandrasekhar
Top achievements
Rank 1
chandrasekhar asked on 15 Mar 2011, 02:50 PM
For my application when i google for solution i got the following url for best solution. But the only problem with this solution is i am not able to de-select the item which is already selected.
Please check the code attached in the following url. "244021_SL-DragDropFriendlyListBox.zip"
http://www.telerik.com/community/forums/silverlight/drag-and-drop/drag-and-drop-with-treeviewdragcue-and-listbox.aspx

"244021_SL-DragDropFriendlyListBox.zip" this solution is fine when i select multiple itmes without holding shift/ctrl control.
But problem when i want to de-select an item in top list box.

Please give me solution.

Thanks in advance.

4 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 15 Mar 2011, 04:57 PM
Hi chandrasekhar,

 
Please check the attachment in this thread for the solution.

All the best,
Tsvyatko
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
chandrasekhar
Top achievements
Rank 1
answered on 16 Mar 2011, 10:15 AM
Hi Tsvyatko ,
Thanks for your reply.

Now i am able to de-select the items, BUT.
when i select multiple items lets say 4 items(User 0, user1, user 3, user4); Now i want to de-select user3 (3rd item only). and my other selected item remain as it is in selected mode. (User 0, user1, user4)

but your solution de-selecting all other items and selecting only one items on click.

(i want same behaviour as we are selecting multiple items and de-selecting particular item as in our local drive (D:\) files.

Please provide me the solution.

thanks in advance.
0
chandrasekhar
Top achievements
Rank 1
answered on 17 Mar 2011, 08:30 AM
Hi,
Still i am waiting for your solution for the following thread. Could you please provide me the best solution asap.

thanks in advance.
0
chandrasekhar
Top achievements
Rank 1
answered on 17 Mar 2011, 08:53 AM
And also, at the time of selecting items..if i double click or when i clickon selected item other than first item, always the focus is applying to first item.

could you please give me the solution to not get focus on first time on the above scenario.
Tags
DragAndDrop
Asked by
chandrasekhar
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
chandrasekhar
Top achievements
Rank 1
Share this question
or