Issue selecting the same RadDataboundlistbox item after first selection

2 posts, 1 answers
  1. Abdulwahab
    Abdulwahab avatar
    6 posts
    Member since:
    Apr 2012

    Posted 09 Sep 2012 Link to this post

    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?
  2. Answer
    Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 10 Sep 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top