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

Issue selecting the same RadDataboundlistbox item after first selection

1 Answer 49 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Abdulwahab
Top achievements
Rank 1
Abdulwahab asked on 09 Sep 2012, 11:18 PM
I am having issues resetting the selecteditem of the RadDataboundlistbox after the first selection. The SelectionChanged event isn't firing the subsequent time I try. I used to be able to reset the selectedindex on a regular listbox by setting the selectedindex = -1. But this isn't working for the RadDataboundlistbox. How do I fix this?

1 Answer, 1 is accepted

Sort by
0
Accepted
Deyan
Telerik team
answered on 10 Sep 2012, 06:25 AM
Hi Abdulwahab,

Thanks for writing.

RadDataBoundListBox exposes the SelectedItem property which can be set to null to clear the selection.
Can you try this approach and let me know in case it doesn't work for you?

Thanks for your time.

Regards,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DataBoundListBox
Asked by
Abdulwahab
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or