SelectedIndexChanged not firing when selection changed with the keyboard

3 posts, 0 answers
  1. David
    David avatar
    4 posts
    Member since:
    Jun 2008

    Posted 11 Aug 2014 Link to this post

    I have seen a couple of postings that seem to be related to this issue, but with no definitive answer.

    I have a RadComboBox (in ASP.NET) with runat=server and AutoPostBack=true.  I have a handler for OnSelectedIndexChanged.  

    The handler fires when the user selects an item with the mouse.  The handler doesn't fire when the focus is on the control and the user changes the selection using the keyboard (arrow up/down).  

    The handler will execute in this case when the control loses focus, but that's not the desired behavior.  We have sections of the page that will be shown/hidden based on the user's selection, so the user expects those changes to happen as their selection changes.

    What's the official position on how to handle this? 

    My version of Telerik.Web.UI.dll is 2013.1.417.35.


    David Cater
  2. sandeep
    sandeep avatar
    17 posts
    Member since:
    May 2014

    Posted 11 Aug 2014 in reply to David Link to this post

    In my view here when you are using your keyboard to select an item,we use arrow keys to search for an item,so the event doesn't get fired. If you press enter on any item, then only the item gets selected and event gets fired. 
  3. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 Aug 2014 in reply to David Link to this post

    Hi David,

    The default behavior of RadComboBox is OnSelectedIndexChanged  event will fire if  selection is happened using keyboard also. Please have a look into this online demo and try to replicate the issue for further help.

Back to Top