Hello
In our project we use Infragistics2.Win.UltraWinDock.v6.1 and sometimes we have an exception, when moving or resizing panes:
************** Text **************System.NotSupportedException: A pane's docked state cannot be determined until it has been associated with a DockAreaPane в Infragistics.Win.UltraWinDock.DockablePaneBase.get_DockedState() в Infragistics.Win.UltraWinDock.PaneSettingsResolved.ResolveCaptionAppearance(AppearanceData& appearance, AppearancePropFlags& requestedProps, Boolean isActive, Boolean isHot) в Infragistics.Win.UltraWinDock.DockablePaneBase.PaneMetrics.UpdateCaptionSizeInfo() в Infragistics.Win.UltraWinDock.DockablePaneBase.PaneMetrics.UpdateSizeInformation() в Infragistics.Win.UltraWinDock.DockablePaneBase.PaneMetrics.get_CaptionSize() в Infragistics.Win.UltraWinDock.PaneUIElement.PositionPaneElements(Rectangle workRect, DockablePaneBase pane, UIElementsCollection oldElements) в Infragistics.Win.UltraWinDock.PaneUIElement.PositionChildElements() в Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive) в Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive) в Infragistics.Win.UIElement.VerifyChildElements(Boolean recursive) в Infragistics.Win.UltraWinDock.UltraDockManager.VerifyPaneControlElements(Control control) в Infragistics.Win.UltraWinDock.UltraDockManager.VerifyPaneControlElements(Control control) в Infragistics.Win.UltraWinDock.AutoHideSplitterUIElement.ApplyAdjustment(Point delta) в Infragistics.Win.AdjustableUIElement.OnMouseUp(MouseEventArgs e) в Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e) в Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e) в System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e) в Infragistics.Win.UltraWinDock.DockControlBase.OnMouseUp(MouseEventArgs e) в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) в System.Windows.Forms.Control.WndProc(Message& m) в System.Windows.Forms.ScrollableControl.WndProc(Message& m) в System.Windows.Forms.ContainerControl.WndProc(Message& m) в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
From system event log:
EventType clr20r3, P1 netclient.exe, P2 1.0.0.6, P3 4b0bb70c, P4 mscorlib, P5 2.0.0.0, P6 4a7cd8f7, P7 170c, P8 22, P9 system.invalidoperationexception, P10 NIL.
hello,
we have the same issue with windockmanager... v9.2, so I think we have all hotfix...
the big problem is that the exception is systematic with different databases even if we re-instal infragistics products...
have you some idea to help us... we have an end user who can't execute our software because of this issue
this is the exception message : A pane's docked state cannot be determined until it has been associated with a DockAreaPane
this is the stack trace :
à Infragistics.Win.UltraWinDock.DockablePaneBase.get_DockedState()à Infragistics.Win.UltraWinDock.DockablePaneBase.Pin()à Infragistics.Win.UltraWinDock.DockableControlPane.Pin()à Infragistics.Win.UltraWinDock.UltraDockManager.ControlPaneRemoved(DockableControlPane pane)à Infragistics.Win.UltraWinDock.DockableControlPanesCollection.Remove(DockableControlPane pane)à Infragistics.Win.UltraWinDock.UltraDockManager.InitializePaneControls()à Infragistics.Win.UltraWinDock.UltraDockManager.InitializeComponent()à Infragistics.Win.UltraWinDock.UltraDockManager.System.ComponentModel.ISupportInitialize.EndInit()à Aplon.Vue.ControleAcces.Parametrage.ucApercuEcranPassage.InitializeComponent() dans d:\TEAM OANE\Maintenance\V2.3.3 (V2 Finale)\Self\Aplon.Vue.ControleAcces\Aplon.Vue.ControleAcces\Parametrage\ucApercuEcranPassage.Designer.cs:ligne 204à Aplon.Vue.ControleAcces.Parametrage.ucApercuEcranPassage..ctor() dans d:\TEAM OANE\Maintenance\V2.3.3 (V2 Finale)\Self\Aplon.Vue.ControleAcces\Aplon.Vue.ControleAcces\Parametrage\ucApercuEcranPassage.cs:ligne 40à Aplon.Vue.ControleAcces.Parametrage.ucModeleEcranPassage.InitializeComponent() dans d:\TEAM OANE\Maintenance\V2.3.3 (V2 Finale)\Self\Aplon.Vue.ControleAcces\Aplon.Vue.ControleAcces\Parametrage\ucModeleEcranPassage.Designer.cs:ligne 44à Aplon.Vue.ControleAcces.Parametrage.ucModeleEcranPassage..ctor() dans d:\TEAM OANE\Maintenance\V2.3.3 (V2 Finale)\Self\Aplon.Vue.ControleAcces\Aplon.Vue.ControleAcces\Parametrage\ucModeleEcranPassage.cs:ligne 53à Aplon.Vue.ControleAcces.Parametrage.ucParametrage.PreparerGestionModele() dans d:\TEAM OANE\Maintenance\V2.3.3 (V2 Finale)\Self\Aplon.Vue.ControleAcces\Aplon.Vue.ControleAcces\Parametrage\ucParametrage.cs:ligne 291à Aplon.Vue.ControleAcces.Parametrage.ucParametrage.aplVue_OnMenuItemBeforeClick(Object sender, CancelableExplorerBarItemEventArgs e) dans d:\TEAM OANE\Maintenance\V2.3.3 (V2 Finale)\Self\Aplon.Vue.ControleAcces\Aplon.Vue.ControleAcces\Parametrage\ucParametrage.cs:ligne 772à Aplon.Composants.Win.MesComposants.MultiVue.ucMultiVue.epbMenu_ItemClick(Object sender, ItemEventArgs e) dans d:\TEAM OANE\Maintenance\V2.3.3 (V2 Finale)\Portail\Aplon.Composants\Aplon.Composants\MesComposants\MultiVue\ucMultiVue.cs:ligne 772
From looking at the methods in the stack trace, it appears like this issue may have been resolved as part of some other code change around 9/06, which means it is possibly fixed in the latest 6.1 hotfix. However, I am not sure if its possible to still get a download of this. I would recommend contacting Developer Support about this.
Have you any hothixes for this issue?
I will take some time to migrate to the latest version. And of cource there is no much one at the end of project :)
It looks like it may be a bug. However, version 6.1 is no longer supported. If you have a subscription, I would recommend upgrading to the latest version to see if it fixes your issue. If not, download the trial of the latest version and see if your issue is fixed. If not, it should be submitted to Developer Support so it can be investigated.