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.
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; }}
Thanks for the reply. My modal dialog is actually called from within a user control which is itself inside another user control, which is then in the pane on the form. So the dialog might not be seen as belonging to the main form, i'll check that. But if that dosen`t work, your workaround is a good idea, thanks.