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
360
WebDropDown v10.3 - SelectedItem/Value vs. ActiveItem
posted

I am seeing some peculiar WebDropDown behaviour  with the latest version of the WebDropDown.  I have 3 values when my page loads.  The default selection is the second one.  When I select value 3 and  click a search button on my page causing a postback, the dropdown correctly shows the selected item/value #3.  Then, when I go back and reselect value #2, the postback indicates the old selected item/value of #3, yet the ActiveItemIndex shows the correct index for #2.  Is this a bug, or am I just missing something here?

Parents
No Data
Reply
  • 360
    posted

    I have confirmed by debugging on the client-side that both get_activeItemIndex() and get_selectedItemIndex() have values of 1 indicating that the second value in dropdown is selected.  When I click a search button on my page immediately afterwards, dropdown.ActiveItemIndex = 1 and dropdown.SelectedItemIndex = 2.

Children