or

| CurrentDockStates = RadDockLayout1.GetRegisteredDocksState(); |
| Session["CurrentDockStates"] = CurrentDockStates; |
Then how can use this session stored index in javascript function to set dock position at the correct position.?
I feel this will save my postback.
Please treat this as urgent and reply.
Regards,
Snehal

| <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server"> |
| <asp:Panel runat="server" id="RequestFormPanel" BackColor="Green" > |
| <asp:Panel runat="server" ID="requestPanel" CssClass="FormPanel" BackColor="Red" > |
| </asp:Panel> |
| <telerik:RadDock runat="server" ID="IRItemListDock" Title="Информационные ресурсы" EnableAnimation="true" Visible="false" DefaultCommands = "ExpandCollapse" > |
| <ContentTemplate> |
| <uc2:IRItemList ID="IRItemList1" runat="server" /> |
| </ContentTemplate> |
| </telerik:RadDock> |
| </asp:Panel> |
| </asp:Content> |
| function MoveDock(DockId, PanelId) |
| { |
| var currentDock = $find(DockId.id); |
| if ( currentDock == null ) { return; } |
| obj = document.getElementById(PanelId.id); |
| var x = 0; |
| var y = 0; |
| while (obj != null) |
| { |
| x += obj.offsetLeft; |
| y += obj.offsetTop; |
| } |
| currentDock.set_left(x); |
| currentDock.set_top(y); |
| } |
| Page.RegisterStartupScript("Startup", "<script language=JavaScript>MoveDock(" + IRItemListDock.ClientID + "," + requestPanel.ClientID + ");</script>"); |
| <radA:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <radA:AjaxSetting AjaxControlID="ClassUnlockTimer"> |
| <UpdatedControls> |
| <radA:AjaxUpdatedControl ControlID="ClassUnlockTimer"/> |
| </UpdatedControls> |
| </radA:AjaxSetting> |
| <radA:AjaxSetting AjaxControlID="RadGrid1"> |
| <UpdatedControls> |
| <radA:AjaxUpdatedControl ControlID="ClassUnlockTimer"/> |
| </UpdatedControls> |
| </radA:AjaxSetting> |
| </AjaxSettings> |
| </radA:RadAjaxManager> |
| <radA:RadAjaxTimer runat="server" ID="ClassUnlockTimer" AutoStart="false" /> |
| <radG:RadGrid ID="RadGrid1" runat="server" EnableAJAX="True".... |
| protected void Page_Init(object sender, System.EventArgs e) |
| { |
| ClassUnlockTimer.Tick += new RadAjaxTimer.TickDelegate(timer_Tick); |
| ClassUnlockTimer.Interval = 40000; |
| ClassUnlockTimer.Stop(); |
| ClassUnlockTimer.Start(); |
| } |