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
375
How to force an editor button drop down to close up
posted

I have an ultra text editor on which I've defined a right button which is a DropDownEditorButton which has an ultragird as it's control.  I have actions that take place on the double click event of the grid after which I want the drop down to close up.

I've tried 'txtSearch.Editor.CloseUP' and 'txtSearch.Editor.ExiteditMode (true, true) and neither works.

How do I get the dropdown to close up in the grid double click?

Parents
  • 71886
    Suggested Answer
    Offline posted

    Hello Tigerpaw,

    You could try the following approach to resolve your issue(assuming your ultraGrid is named ultraGrid1 and is part of the dropDownButton Editor property):

            private void ultraGrid1_DoubleClick(object sender, EventArgs e)

            {

                ultraTextEditor1.CloseEditorButtonDropDowns();

            }

    Feel free to write me if you need further assistance.

Reply Children