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
165
Reduce mouse click on UltraPopupControlContainer
posted

Hi,

We have a button in every row which invokes a popup using UltraPopupControlContainer on the grid. When the button is clicked, the popup gets focus and the grid loses focus. When user clicks the button again, the popup is closed and the grid gets focus. The button has to be clicked third time to invoke a new popup. 

How can we make the popop closed and a new popup invoked in the second time button click? This will reduce mouse click by one time. Thanks 

 

Parents
No Data
Reply
  • 9190
    Offline posted

    Hello,

    I will be happy to assist you with this question.

    When using the ultraPopupControlContainer, the mouseDown and mouseClick event of the ultraButton do not fire when the drop-down window has already been opened. To enable the behavior you described, I recommend using the mouseUp event to invoke the new popup when the button is clicked.

    Please use the following code as reference:

    private void ultraButton1_MouseUp(object sender, MouseEventArgs e)
    {
    this.ultraPopupControlContainer1.Show();
    }

    Also, please let me know if you have further questions regarding this matter.

Children
No Data