Saving and loading from Database

4 posts, 0 answers
  1. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 10 Aug 2011 Link to this post

    I'm tring to save/load the PersistenceFramework to and from a Sql Server database.
    THe Containers I'm currently using is the RadDocking.  IS there any Code or example I can take a look at
    to help me along here

    Regards,
    Rick
  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 12 Aug 2011 Link to this post

    Hello Rick Mueller,

    You can see an online example of how to save and load the layout settings of the RadDocking control and its content here. Please let us know if that is what you are looking for and if I can assist you with anything else.

    Best wishes,
    Alex Fidanov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
  4. Diptimaya
    Diptimaya avatar
    9 posts
    Member since:
    Aug 2012

    Posted 12 Jan 2012 Link to this post

    Hi Alex,

    I also need to save in the database and load from the database.
    The link provided, is a string variable used at run time.

    Could you help more.

    Thanks
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 17 Jan 2012 Link to this post

    Hello Diptimaya ,

     The mentioned demo shows how to persist layout in a FileStream. What you can do is to use BinaryReader to transform the Stream into a byte array and save it to your database. You can check out this post for further reference.

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top