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
185
Multi select combo using check list box- have to close first drop down before doing any other ui operation.
posted

Hi,

I have to make a multi select combo using following

http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=7698

suggested by you people.

It works fine and i modify it according to my requirement,

difference is that i used checklistbox instead of ultragird.

My problem is that whenever i open dropdown to select/unselect an item, i have to close dropdown first, then i can click on any button on UI,

in other terms it feels that i have to click on any button twice, first to close dropdown and second time to perform required operation by button.

Let me know if you required any other information.

Please help me ASAP, its annoying.

Thanks,

Narendra Jangir,

Software Engineer,

Nirvana Solutions India Pvt. Ltd.

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello Narendra,

    This is the expected behavior. You could overcome it with the following example as a possible approach:

            private void ultraCombo1_AfterCloseUp(object sender, EventArgs e)

            {

                Control control = GetChildAtPoint(this.PointToClient(Control.MousePosition));

                if (control != null)

                {

                    UltraButton button = control as UltraButton;

                    if (button != null)

                    {

                        button.PerformClick();

                    }

                    else

                    {

                        control.Focus();

                    }

                }

            }

    Feel free to alter it in any way.

Children