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
80
Preventing DropDownEditor from Closing
posted

I have an UltraTextEditor with a ButtonRight that drops down a panel.  The panel has 3 different lists.  As the user starts to type, I want the following behavior:

- the dropdowneditor drops down.  (I accomplish this by calling ultraTextEditor.ButtonsRight[0]).DropDown() once the user starts to type.)

- the UltraTextEditor retains focus so the user can keep typing, AND the editor still stays dropped down so the lists can be updated as they type

My problem is that once the dropdowneditor drops down, the dropdowneditor gets focus.  If I call ultraTextEditor.Focus(), so that the user can keep typing, then the dropdowneditor closes up.

How do I keep the dropdowneditor open while the user continues to type?  (Basically, I want it to behave in a manner similar to a textbox with the autocomplete feature.)

Thanks!

  • 469350
    Offline posted

    Hi,

    There's a property on the DropDownEditorButton called AutoFocus. Just set it to false.