I have a detail page that I popup in a rad window and when I go to add a raddock layout and zone I get this error:
Exception Details: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
If I take the Dockzone out the page loads properly, here is the code I am using to put the dock on the page:
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
If I take the Dockzone out the page loads properly, here is the code I am using to put the dock on the page:
<telerik:RadDockLayout runat="server" ID="RadDockLayout1" EnableEmbeddedSkins="false"
Skin="None" OnSaveDockLayout="RadDockLayout1_SaveDockLayout" OnLoadDockLayout="RadDockLayout1_LoadDockLayout">
<telerik:RadDockZone runat="server" ID="RadDockZone1" Orientation="vertical" Style="border: 0px;
width: 100%;">
<telerik:RadDock runat="server" ID="RadDockBio" Title="Bio Line" EnableAnimation="true"
AutoPostBack="true" CommandsAutoPostBack="true">
<ContentTemplate>
</ContentTemplate>
</telerik:RadDock>
</telerik:RadDockZone>
</telerik:RadDockLayout>