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
180
WebDropDown and what is displayed
posted

I have a webdropdown control set up as multi selection with checkbox. The user is likely to select a large number of options from the drop down list.

By default the webdropdown control concatenates all the selections together  and displays them in the control.

What would be the best way to stop the dropdown control from displaying the selected items all concatenated together?

What I basically want to do is allow the user to scroll through the list, marking off the checkbox for any items they want to select, but not have the dropdown list these all these in the box at the top of the conrol.

thanks in advance for any pointers.

  • 5105
    Suggested Answer
    Offline posted

    Hi there,

    You can attach a client event handler to the ClientEvents-ValueChanging and cancel the event through the eventArguments.

    Here is a code example of how to do this:

    ClientEvents-ValueChanging

     

     

    ="WDD_ValueChanging"

     

    function

     

     

    WDD_ValueChanging(sender, eventArgs)

    {

          eventArgs.set_cancel(

     

    true);

    }

    Let me know if this works for you and thank you for using the Infragistics forums!