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
190
WebDropD
posted

Hello,

I am using a webDropDown w/ MultipleSelectionType = Checkbox. Is it possible to access a list of selected values for the list of selected items?   I see this question was asked but it was over 7 years ago.

I'm using version 19.1 of the controls.

Parents
No Data
Reply
  • 16310
    Offline posted

    Hi Stewart,

    You can get the collection of selected items from the event arguments in the SelectionChanged event:

    protected void WebDropDown1_SelectionChanged(object sender, Infragistics.Web.UI.ListControls.DropDownSelectionChangedEventArgs e)
    {
           DropDownItem[] selectedItems = (DropDownItem[])e.NewSelection;
    }

    Please let me know if you have further questions.

Children