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
575
Not allowing the UltraComboEditor to DropDown when the SelectedItem is set
posted

Whenever we set the SelectedItem of UltraComboEditor it is dropeddown, we then have to use SendKeys of {F4} to drop it up.  Is there a better way that we can supress the drop down each time we set its value?

  • 69832
    Suggested Answer
    Offline posted

    I'm not sure why the dropdown is automatically appearing when you set the selected item. The control doesn't do that on its own so I suspect you have code somewhere that might be responsible for that, in which case you would just have to remove that code. To answer the question, the control exposes a BeforeDropDown event, which is cancelable, so you can handle that event and set the Cancel property of the event arguments to true if you want to prevent the dropdown from appearing.