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

Example Needed: Save State to Database

1 Answer 85 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Chase Florell
Top achievements
Rank 1
Chase Florell asked on 01 Mar 2009, 10:57 PM
I am looking for an example of saving the state of the RadDock to a database.

Basically I am building a content managemtent system that uses modules for things like wysiwyg, contact form, photo gallery, etc.  What I want to be able to do is add as many or as few modules to a single page (load ascx pages into the RadDock), and then save the sate of all those dynamically loaded modules into a single DB field.

The database will have a Field called [MainDockState] and another field called [SideBarDockState] (the sidebar only loads sidebar related modules).

The user will then be able to choose which modules they wish to use when they are creating the page, move them around if they have permission, but when the RadDock is Dropped, the state will be sent to the database and saved for all future visits to that page.

Thanks in advance for the direction on this problem

1 Answer, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 03 Mar 2009, 01:24 PM
Please take a look at the following forum thread:
http://www.telerik.com/community/forums/aspnet-ajax/docking/dynamically-adding-docks-loading-content-from-a-database.aspx

"I prepared a sample project which demonstrates how you could modify the Dynamically Created Docks example so that it saves the state into Database. Please, take a look at the attached archive and let us know in case you still experience any problems.

Best regards,
Sophy
"

Hope this helps!
Tags
Dock
Asked by
Chase Florell
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Share this question
or