Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1445
Selecting an Item using tab and the arrow keys??
posted

I have written a asp.net page that uses javascript to determine if an item in the dropdown isSelected or not.  When I use the mouse to open the drop down and select an item everything works ok. However when I use tab and arrow down/up, when it gets the .isSelected it comes back as false.

What do I need to set to get that to reconize that it was selected?

 

Thanks

Parents
  • 49378
    posted

    Hi apalcer,

    Thank you for pointing out this issue to us.

    I have created a support ticket with case number CAS-70543-9LL3FD for your case, which you can monitor by going to the “My IG” tab on our website, and selecting  "My Support Activity"  from the drop-down.  

    https://es.infragistics.com/Membership/MySupport.aspx

    I have investigated the scenario you have described and after being able to reproduce the issue I have asked our engineering staff to examine this further. To ensure that it will receive attention, the behavior has been logged in our system with a Development ID of 84549. The next step would be for a developer to examine and review my investigation.

    I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.

    In the meantime I can offer you a possible alternative approach for achieving the same functionality without using the isSelected() method. You can get the value of the selected item which is always returned correctly. Hence, you can check if some item is checked by comparing its value to the value of the currently selected item. 

    You could access the value of a particular item using:

        $find('WebDropDown1').get_items(0).get_value()

    The value of the currently selected item can be acquired by something like:

        $find('WebDropDown1').get_selectedItems().get_value()

    Please let me know if this helps.

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://es.infragistics.com/support


Reply Children