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
850
UltraWindock throwing error
posted

I have a DockableControlPane which is disappearing when it should not be and if I make it reappear this error is thrown:

System.NullReferenceException: Object reference not set to an instance of an object.

at Infragistics.Win.UltraWinDock.AutoHideControl.PrepareAnimationInfo()

at Infragistics.Win.UltraWinDock.AutoHideControl.ShowFlyoutPane(DockableControlPane pane, UnpinnedTabArea tabArea, Boolean slide, DefaultableBoolean honorActiveState)

at Infragistics.Win.UltraWinDock.UltraDockManager.ShowFlyoutPane(DockableControlPane pane, Boolean forceFocus, Boolean slide, DefaultableBoolean honorActiveState)

at Infragistics.Win.UltraWinDock.UltraDockManager.ShowFlyoutPane(DockableControlPane pane, Boolean forceFocus, Boolean slide)

at Infragistics.Win.UltraWinDock.DockableControlPane.Flyout(Boolean slide, Boolean activate)

at Infragistics.Win.UltraWinDock.UnpinnedTabManager.AutoSelectTab(ITabItem tab)

at Infragistics.Win.UltraWinTabs.TabItemUIElement.OnTimerTick(Object sender, EventArgs e)

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

at System.Windows.Forms.Application.Run(Form mainForm)

 

Does anyone have any ideas what might be wrong?

Thanks

blair

 

Parents
No Data
Reply
  • 44743
    posted

    It's tough to say what happened, but it looks like a null reference exception could be caused in AutoHideControl.PrepareAnimationInfo if the DockableControlPane was removed from the ControlPanes collection of the UltraDockManager. If this happened, it would also explain why the pane disappeared. There are a few reasons why it could have been removed from the collection. Check to make sure your code doesn't manually remove the pane from the collection and that you aren't disposing the docked control by accident. If not, I would recommend submitting the issue to the support group: http://es.infragistics.com/gethelp.

Children
No Data