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
170
Problem with ControlPanes in Flyout mode
posted

Hello,

I'm using the UltraDockManager in order to have some control panes in flyout mode on the side of the form. My problem is that on the control pane I have a button that opens a dialog window. When the mouse cursor leaves the control pane area to go to the dialog window, the control pane closes up again, forcing the user to constantly trigger the flyout mode each time a dialog window is used.

Is there anyway around this? Perhaps a method that would force the Flyout control pane to stay open?

Any help would be greatly appreciated, thank you.

 

Parents
  • 44743
    posted

    This looks like it may be a bug. If a modal dialog is shown and owned by the main form, I don't think flyout panes should be hiding. I would recommend reporting the issue to the support group: http://es.infragistics.com/gethelp.

    As a workaround, you can change the AutoHideDelay before and after showing the dialog to prevent the pane from closing for a while:

    private void button1_Click( object sender, EventArgs e )
    {
     int oldDelay = this.ultraDockManager1.AutoHideDelay;

     try
     {
      this.ultraDockManager1.AutoHideDelay = 1000000;
      MessageBox.Show( "Test" );
     }
     finally
     {
      this.ultraDockManager1.AutoHideDelay = oldDelay;
     }
    }

Reply Children