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

Saving and loading from Database

3 Answers 164 Views
PersistenceFramework
This is a migrated thread and some comments may be shown as answers.
Rick Mueller
Top achievements
Rank 1
Rick Mueller asked on 10 Aug 2011, 04:45 PM
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

3 Answers, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 12 Aug 2011, 12:03 PM
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 >>

0
Diptimaya
Top achievements
Rank 1
answered on 12 Jan 2012, 01:02 PM
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
0
Petar Mladenov
Telerik team
answered on 17 Jan 2012, 12:27 PM
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 >>

Tags
PersistenceFramework
Asked by
Rick Mueller
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Diptimaya
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or