Testing out the abilities of the RadDockLayout control to persist state using EnableLayoutPersistence='True', and I've run into a bit of a snag..setting LayoutPersistenceRepositoryType='Custom' causes the following error in VS 2010 when debugging:
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
However setting the property to Cookies, FileSystem or None allows the page to load correctly. The ASPX code I'm using to test comes straight from Telerik's example (http://www.telerik.com/help/aspnet-ajax/introduction.html):
There is no code-behind other than the page_init and the framework of the implemented IStateStorageProvider.
I'm stumped. I rebooted to see is Win7 wasn't flaked out, but even that didn't work. If I can supply any other info please let me know.
Todd
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
However setting the property to Cookies, FileSystem or None allows the page to load correctly. The ASPX code I'm using to test comes straight from Telerik's example (http://www.telerik.com/help/aspnet-ajax/introduction.html):
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <!DOCTYPE html> <html lang="en"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <telerik:RadDockLayout runat="server" ID="RadDockLayout1" EnableLayoutPersistence="true" LayoutPersistenceRepositoryType="Custom" LayoutRepositoryID="CustomLayout"> <telerik:RadDockZone runat="server" ID="RadDockZone1" Width="300" MinHeight="200"> <telerik:RadDock runat="server" ID="RadDock1" Title="RadDock 1" Width="300"> </telerik:RadDock> <telerik:RadDock runat="server" ID="RadDock2" Title="RadDock 2" Width="300"> </telerik:RadDock> </telerik:RadDockZone> <telerik:RadDockZone runat="server" ID="RadDockZone2" Width="300" MinHeight="200"> </telerik:RadDockZone> </telerik:RadDockLayout> </form> </body> </html>
There is no code-behind other than the page_init and the framework of the implemented IStateStorageProvider.
I'm stumped. I rebooted to see is Win7 wasn't flaked out, but even that didn't work. If I can supply any other info please let me know.
Todd