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

Dock with ASP.NET Personalization Provider

2 Answers 62 Views
Dock
This is a migrated thread and some comments may be shown as answers.
David Moore
Top achievements
Rank 1
David Moore asked on 16 Jan 2009, 08:33 PM
I am switching over from using the built in .NET webparts controls because of some browser compatibility issues, but I am having trouble getting the docking controls to store the data how i would like.  Is it even possible to use the microsoft personalization provider to store this information?  When using the ASP:WebPartManager it practically does everything for you using the provider.

Thanks
~Dave

2 Answers, 1 is accepted

Sort by
0
Nikolay Raykov
Telerik team
answered on 19 Jan 2009, 12:07 PM

Hi Dave,

RadDock control does not have a Personalization API like the ASP.NET Web Part control.

You could, however implement similar functionality as you can persist the state of the docks on different storage mediums. Persisting the docks' state is done by using RadDockLayouts events LoadDockLayout and SaveDockLayout.

If you are unable to accomplish this you could open a support ticket and send us a sample working version of your project. We will do our best to help you.

Kind regards,

Nikolay Raykov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sameer
Top achievements
Rank 1
answered on 23 Jan 2009, 12:10 PM
Hi David,

Not to confuse you but I switched from  .net webparts to Telerik just two weeks ago.

Benefit you may have from webparts is to personalize all you have to do is
put [personalizable] attribute on property you want to serialize.

On webpart page, I faced problem when I loaded multiple controls all firing many huge queries.
With many webparts around, if you drag drop any control it reloads everything. This caused my page to load
in 15-20 sec. .. so unacceptable !!

When I switched to Telerik. The biggest challenge was to serialize editable controls.
I used asp.net user controls.. by nature of dynamically added user controls you can not get its Type.. so you can not
serialize and deserialize controls using [DataContract] and [DataMember].
So I had to device logic to initialize properties and save properties using JavascriptSerializer..

Hope this helps..
Tags
Dock
Asked by
David Moore
Top achievements
Rank 1
Answers by
Nikolay Raykov
Telerik team
Sameer
Top achievements
Rank 1
Share this question
or