LoadLayout

2 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 06 Feb 2013 Link to this post

    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
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 11 Feb 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top