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
855
Ultra Dock Manager Exception
posted

Hi.  When I load a large existing .xml file with the dock manager layout information:

ultraDockManager.LoadFromXML(stream);

I'm getting an exception in the control's VisibleChanged event.  I want to be able to pin the control in code (after loading) and this is the code:

ultraDockManager.PaneFromControl(

this).Pinned = true;

However, this code is executed as the .xml file is being loaded.  And during that time, the code above sometimes causes a null reference exception.  The call does return a valid DockableControlPane object.  But, setting the Pane.Pinned property = true causes an exception.

Any idea why?

  • 9298
    posted

    Greg,

    Would you be able to attach to this forum post a sample which reproduces this exception?  I would then be able to research the cause of the issue.