Add overloads for LoadLayout and SaveLayout methods of the Docking control with parameter of type XElement instead of Stream. Change the Save/Load layout code to use LinqToXML instead of XmlReader and XmlWriter.
Saving and loading of the RadDocking control's layout is possible to and from XElement (using LinqToXML). For more details please refer the following online help articles: - For WPF at the following address: http://www.telerik.com/help/wpf/raddocking-features-save-load-layout-linq-to-xml.html - For Silverlight at the following address: http://www.telerik.com/help/silverlight/raddocking-features-save-load-layout-linq-to-xml.html