This is a migrated thread and some comments may be shown as answers.

Why RadDock does behave correctly?

1 Answer 57 Views
Dock
This is a migrated thread and some comments may be shown as answers.
MG
Top achievements
Rank 1
MG asked on 03 May 2013, 11:36 AM
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

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 06 May 2013, 08:43 AM
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.
Tags
Dock
Asked by
MG
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or