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

Doc and personalization

3 Answers 80 Views
Dock
This is a migrated thread and some comments may be shown as answers.
PureRamu
Top achievements
Rank 1
PureRamu asked on 27 Apr 2009, 04:00 PM

  I found telrik Doc very late

I was playing with .net web part for 3 days.

 

now I have 4 questions

1) How can I configure Doc to store personalization data in sqlserverdfatabase.

Can I use the genuine table I created by running aspnetregsql.exe

2)Or what is the easy way of providing personalization per user irrespective of with computer or browser he use

 

3) How can I create a WebPartcatalog using telerik control?

(WebPartcatalog is a technical tem in classical web part.)

4)is doc personalization is achieved across all famous browsers

3 Answers, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 29 Apr 2009, 10:41 AM
You could use the RadDock's state to save the state information in the DB for each user you have. You can find a simple example which illustrates how to add/remove dynamically RadDocks and save their state in the Session here:
http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultcs.aspx
0
PureRamu
Top achievements
Rank 1
answered on 04 May 2009, 02:18 PM
http://demos.telerik.com/aspnet-ajax/dock/examples/loadsavelayout/defaultcs.aspx

I could restore the posions of  the  dock using the link above.
but sate like  closed   minimised etc are not  getting restored here.

the link you given http://demos.telerik.com/aspnet-ajax/dock/examples/dynamicdocks/defaultcs.aspx

creates   rad doc dynamically But iam creating then in aspx side as 

<

 

telerik:RadDockLayout ID="RadDockLayout1" runat="server">

 

 

<div style="padding-left: 5px;">

 

 

<div id="TOP" style="clear: both;" >

 

 

<div style="float: left;">

 

 

<telerik:RadDockZone ID="RadDockZone1" runat="server" Width="380px" BorderColor="white" >

 

 

<telerik:RadDock ID="RadDock1" runat="server" AutoPostBack="True" >

 

 

<ContentTemplate>

 

 

<div id="InnChart">

 

 

text texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext

 

 

</div>

 

 

</ContentTemplate>

 

 

<Commands >

 

 

<telerik:DockCloseCommand AutoPostBack =true />

 

 

</Commands>

 

 

</telerik:RadDock>

 

 

</telerik:RadDockZone>

 

 

</div>

 

 

<div style="float: left;">

 

 

<telerik:RadDockZone ID="RadDockZone2" runat="server" Width="380px" BorderColor="white" >

 

 

<telerik:RadDock ID="RadDock2" runat="server" AutoPostBack="True" >

 

 

<ContentTemplate>

 

 

<div id="InnOff">

 

 

TEXT 222222222222222

 

 

</div>

 

 

</ContentTemplate>

 

 

<Commands >

 

 

<telerik:DockCloseCommand AutoPostBack =true />

 

 

</Commands>

 

 

</telerik:RadDock>

 

 

</telerik:RadDockZone>

 

 

</div>

 

 

</div>

 

 

</div>

 

 

</telerik:RadDockLayout>

 


0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 05 May 2009, 09:54 AM
If you collapse or close a RadDock you should make an additional ajax call/postback to save its state.
Tags
Dock
Asked by
PureRamu
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
PureRamu
Top achievements
Rank 1
Share this question
or