save panel bar using docking custome provider

7 posts, 0 answers
  1. Muhammad
    Muhammad avatar
    24 posts
    Member since:
    Mar 2012

    Posted 11 Jul 2012 Link to this post

    Hi Admin,
    can you please tell me how to save the layout of the docking panel bar ,i dont wanna stream ,i just wanna save and load it from the isolated storage file the way we doing radgridview,i have added the dockingcustomproperty provider but dont know what to do would be helpful if you provide a sample solution.
    ServiceProvider.RegisterPersistenceProvider<ICustomPropertyProvider>(typeof(RadDocking), new DockingCustomPropertyProvider()); 
    and
      RadDocking.SetSerializationTag(userFilters, PersistedKey_userFilters);  
       
    and then i am calling the

      provider.SaveToStorage(); 


    but nothing getting saved.kindly reply i need to finish that.
    with best regards shabbir
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 16 Jul 2012 Link to this post

    Hi Shabbir,

    You need to set the PersistenceManager StorageId attached property on your RadDocking control:
    PersistenceManager.SetStorageId(xRadDocking, "Docking");

    Here you can find more information on how to save your UI settings in an isolated storage. I've also attached a sample solution demonstrating how to persist the RadDocking settings in an isolated storage, please have a look at it and let me know if it helps.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Muhammad
    Muhammad avatar
    24 posts
    Member since:
    Mar 2012

    Posted 23 Jul 2012 Link to this post

    i tried and had look into the project you sent to me ,when it tries to save ,my page gets not responding and keeps on this state for many minutes finally had to stop the internet explorer process.
    regards
    shabbir
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 23 Jul 2012 Link to this post

    Hi Muhammad,

    Please accept my apology for this inconvenience. It seems that there is an issue with the assemblies in the attached sample, so I fixed that and I attached it again so you can give it a try. Please let me know if it still doesn't work on your side.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Muhammad
    Muhammad avatar
    24 posts
    Member since:
    Mar 2012

    Posted 24 Jul 2012 Link to this post

    yeap i am able to run this solution but in the same way i am trying to implement in my page ,i got 15 panes into different partiion panegroup in one docking and in each pane i got radgridview,when i try to save the page gets stuck and eventually IE stop responding (Not Responding).....

  7. Muhammad
    Muhammad avatar
    24 posts
    Member since:
    Mar 2012

    Posted 24 Jul 2012 Link to this post

    after waiting for 20 mints finally came up with System.OutOfMemoryException
  8. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 27 Jul 2012 Link to this post

    Hi,

     Are you able to reproduce this exception with the example Tina attached by modifying it and placing a large number of gridviews inside the Docking control?

    All the best,
    Alex Fidanov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner