On the launch of the splitter window if the user tries to resize the sub window by dragging/moving the splitter, A NullReferenceException is thrown. The following is the stack message.
------------------------------------------------------------------------------------------------------------------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.WinControls.Docking.DockSite.CalcSplitterMargin(Splitter& splitter)
at Telerik.WinControls.Docking.DockSite.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at Telerik.WinControls.Docking.DockSite.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------------------------------------------------------------------------------------
Note: sub windows are the DockPanels which are added to the DockingManager using SetDock.
Thanks for any help,
Srinivas.