Why RadDock does behave correctly?

2 posts, 0 answers
  1. MG
    MG avatar
    6 posts
    Member since:
    May 2013

    Posted 03 May 2013 Link to this post

    Hi,

    if LoadFromXml fails, I am loading it from the defaultsetting.xml created during design time or copied from the file saved by raddock.
    SaveToXml() method itself.
    
    The problem I am having is that toolwindow does not behave correctly. I can't close it or float around etc. 
    
    Code snippet:

     if (File.Exists(DockStatePath)) 
     {    
    try { radDock.LoadFromXml(DockStatePath);        
    }     
    catch (XmlException)    

    radDock.LoadFromXml("defaulsetting.xml");

    }

    Thx in advance
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 06 May 2013 Link to this post

    Hello Milan,

    I assume that the reason for this error would be the issue stated in the other thread you have opened: http://www.telerik.com/community/forums/winforms/dock/raddock-loadfromxml-failed-and-reset-it.aspx. Please try the solution from there and let me know how it works for you.
     
    Greetings,
    Stefan
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top