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
655
WebDropDown EnableMultipleSelection Browser Back Button
posted

Hi,

I have several WebDropDowns on a page with EnableMultipleSelection=true. If a user selects several items and then moves to the next page and hits the browser back button these selected items are lost. Can you tell me if there is an easy way of keeping these items selected? I am using Infragistics version 12.2.

Thanks

Parents
No Data
Reply
  • 8736
    Verified Answer
    posted

    Hello,

    One possible approach to implement the functionality you described is to store the selected item index in hidden field when redirecting to another page. On window.onload you can check the value of the hidden field and set the selected index based on hidden field value.

     var dro = $find("WebDropDown1");     //Where value is stored value  

     dro.selectItemByIndex(val, true, true);    

     I hope this helps.

Children