In a project with non ajax / ajax controls ( Q3 2008 version ) I want to create a master page for ajax controls.
I get the error below when I set PersistStateInCookie="true" to the 'telerik:RadPanelBar' control .If I set PersistStateInCookie = "false" it is working but it doesn't keep my selection.
<telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Scrolling="None" Width="180px" Style="margin: 0px; padding: 0px" BorderWidth="0px" OnClientPaneDocked="SlidePaneDocked" OnClientPaneUnDocked="SlidePaneUnDocked" Index="0"> <asp:ContentPlaceHolder ID="contentLeft" runat="server"> </asp:ContentPlaceHolder>[InvalidOperationException: Cannot convert object of type 'System.String' to type 'System.String[]']
<asp:UpdatePanel ID="upMaster" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="upMaster" DynamicLayout="true" runat="server"> <ProgressTemplate> (...loading) </ProgressTemplate> </asp:UpdateProgress>
<div style="float: left"> <telerik:RadPanelBar ID="leftPanels" runat="server" Height="100%" ExpandMode="SingleExpandedItem" Width="180px"
PersistStateInCookie="true" /> </div> </ContentTemplate> </asp:UpdatePanel> </telerik:RadSlidingPane>
System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeInternal(Object o, Type type, JavaScriptSerializer serializer) +305914
System.Web.Script.Serialization.ObjectConverter.ConvertObjectToType(Object o, Type type, JavaScriptSerializer serializer) +192
System.Web.Script.Serialization.ObjectConverter.AssignToPropertyOrField(Object propertyValue, Object o, String memberName, JavaScriptSerializer serializer) +284
System.Web.Script.Serialization.ObjectConverter.ConvertDictionaryToObject(IDictionary`2 dictionary, Type type, JavaScriptSerializer serializer) +1349
System.Web.Script.Serialization.ObjectConverter.ConvertObjectToType(Object o, Type type, JavaScriptSerializer serializer) +192
System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(String input) +66
Telerik.Web.UI.RadPanelBar.LoadState(String state) +152
Telerik.Web.UI.RadPanelBar.LoadStateFromCookie() +257
Telerik.Web.UI.RadPanelBar.OnPreRender(EventArgs e) +60
System.Web.UI.Control.PreRenderRecursiveInternal() +108
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
Thank you
Laurentiu