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

LoadLayout

1 Answer 39 Views
Docking
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 06 Feb 2013, 10:20 AM
Hi,

i tried you exmaple to load my laypout, but i geht this error-message:
"The path specified format is not supported."
string path_s = Klassen.helper.WPFAnwendung_Path() + "\\Layout\\laoyut.xml";
    
// Load your layot from the isolated storage.
using ( IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForAssembly() )
{
      using (var isoStream = storage.OpenFile("E:\\WPF_Dev\\ITA-Reporting\\ITA-Reporting\\bin\\Debug\\Layout\\Layout.xml", FileMode.Open))
{
this.Docking.LoadLayout( isoStream );
             }

What's the problem? The path is ok, file does exist!

thanks
best Regards
rene

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 11 Feb 2013, 12:37 PM
Hello Rene,

It seems that the exception you are getting comes from the file path you are giving to the OpenFile() method.

You can read more details about IsolatedStorageFile here.

As I see you have posted about related issues here and here, you can find answers to those questions and an attached example that shows how to use the IsolatedStorageFile in order to save/load the RadDocking layout.

Greetings,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Docking
Asked by
ITA
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or