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

nested contenttemplates in raddock

1 Answer 12 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 05 Jun 2018, 03:57 PM

I have been given a web app that I just installed the latest version of telerik and I get errors I don't know how to correct:

I made comments below where it has the error (look for <--).  Also I attached the error I get on the control too.

Any help is greatly appreciated.

Here is the html:

<telerik:RadAjaxPanel ID="rapMain" runat="server" HorizontalAlign="NotSet" LoadingPanelID="rlpLoading" >
<div style="text-align:Center">
<telerik:RadDockLayout ID="rdlMain" runat="server">
<table style="text-align:Left">
<tr valign="top">
<td>
<telerik:RadDockZone ID="rdz1" runat="server" Orientation="Vertical" Width="300px" MinHeight="300px">
<telerik:RadDock ID="rdkModelInfo" runat="server" Title="Model Info" EnableAnimation="True" EnableRoundedCorners="True"
Resizable="True" AllowedZones="rdz1" CssClass="RadDockPadded" >
<Commands>
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<table class="RadDockPadded" >
<tr>
<td>Model:</td><td><asp:Label runat="server" ID="lblModel" CssClass="Label" /></td>
</tr>
<tr>
<td>Year:</td><td><asp:Label runat="server" ID="lblYear" CssClass="Label" /></td>
</tr>
<tr>
<td>Design:</td><td><asp:Label runat="server" ID="lblDesign" CssClass="Label" /></td>
</tr>
<tr>
<td>Prod Type:</td><td><asp:Label runat="server" ID="lblProdType" CssClass="Label" /></td>
</tr>
<tr>
<td>PCB Type:</td><td><asp:Label runat="server" ID="lblPCBType" CssClass="Label" /></td>
</tr>
<tr>
<td>Hardware Type:</td><td><asp:Label runat="server" ID="lblGroupName" CssClass="Label" /></td>
</tr>
<tr>
<td>Family Type:</td><td><asp:Label runat="server" ID="lblFamilyType" CssClass="Label" /></td>
</tr>
<tr>
<td>Model Code:</td><td><asp:Label runat="server" ID="lblModelCode" CssClass="Label" /></td>
</tr>
<tr>
<td>Vehicle:</td><td><asp:Label runat="server" ID="lblVehicle" CssClass="Label" /></td>
</tr>
<tr>
<td>PB Free:</td><td><asp:Image ID="imgPBFree" runat="server" ImageUrl="~/Images/Active.png" /></td>
</tr>
<tr>
<td>Active:</td><td><asp:Image ID="imgActive" runat="server" ImageUrl="~/Images/Delete.png" /></td>
</tr>
</table>
</ContentTemplate>
</telerik:RadDock>
<telerik:RadDock ID="rdkCompBom" runat="server" Width="300px" Title="Completions BOM" EnableAnimation="true" EnableRoundedCorners="true"
Resizable="true" AllowedZones="rdz1" CssClass="RadDockPadded" >
<Commands>
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<table class="RadDockPadded">
<tr>
<td>ASMT:</td><td><asp:Label runat="server" ID="lblASMTBOM" CssClass="Label" /></td>
</tr>
<tr>
<td>RH:</td><td><asp:Label runat="server" ID="lblRHBOM" CssClass="Label" /></td>
</tr>
<tr>
<td>BSMT:</td><td><asp:Label runat="server" ID="lblBSMTBOM" CssClass="Label" /></td>
</tr>
<tr>
<td>Connector:</td><td><asp:Label runat="server" ID="lblConnBOM" CssClass="Label" /></td>
</tr>
<tr>
<td>Frame:</td><td><asp:Label runat="server" ID="lblFrameBOM" CssClass="Label" /></td>
</tr>
<tr>
<td>Final:</td><td><asp:Label runat="server" ID="lblFinalBOM" CssClass="Label" /></td>
</tr>
</table>
</ContentTemplate>
</telerik:RadDock>
<telerik:RadDock ID="rdkLabelType" runat="server" Width="300px" Title="Label Types" EnableAnimation="true" EnableRoundedCorners="true"
Resizable="true" AllowedZones="rdz1" CssClass="RadDockPadded" >
<Commands>
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<table class="RadDockPadded">
<tr>
<td>Connector:</td><td><asp:Label runat="server" ID="lblConnLType" CssClass="Label" /></td>
</tr>
<tr>
<td>Frame:</td><td><asp:Label runat="server" ID="lblFrameLType" CssClass="Label" /></td>
</tr>
<tr>
<td>Destination:</td><td><asp:Label runat="server" ID="lblDestLType" CssClass="Label" /></td>
</tr>
</table>
</ContentTemplate>
</telerik:RadDock>
</telerik:RadDockZone>
</td>
<td>
<telerik:RadDockZone ID="rdz2" runat="server" Orientation="Vertical" Width="550px" MinHeight="300px">
<telerik:RadDock ID="rdkGeneral" runat="server" Width="500px"
Title="General Information" EnableAnimation="true" Resizable="true"
AllowedZones="rdz2">
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<table class="RadDockNonPadded">
<tr>
<td>KCST Part Number:</td><td><asp:Label runat="server" ID="lblKCSTPartNum" CssClass="Label" /></td>
</tr>
<tr>
<td>Manufacturing Country:</td><td><asp:Label runat="server" ID="lblMFGCountry" CssClass="Label" /></td>
</tr>
<tr>
<td>Last Serial Number:</td><td><asp:Label runat="server" ID="lblLastSerial" CssClass="Label" /></td>
</tr>
<tr>
<td>Pass Thru Part:</td><td><asp:Label runat="server" ID="lblPassThruPart" CssClass="Label" /></td>
</tr>
</table>
</ContentTemplate>
</telerik:RadDock>
<telerik:RadDock ID="rdkCodes" runat="server" Width="500px"
Title="Codes" EnableAnimation="true" Resizable="true"
AllowedZones="rdz2">
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<table class="RadDockNonPadded">
<tr>
<td>Prod Design Level:</td><td style="width:100px"><asp:Label runat="server" ID="lblProdDesignLevel" CssClass="Label" /></td>
<td>Judgement:</td><td><asp:Label runat="server" ID="lblJudgement" CssClass="Label" /></td>
</tr>
<tr>
<td>Prod Design Change:</td><td><asp:Label runat="server" ID="lblProdDesignChange" CssClass="Label" /></td>
<td>Europe:</td><td><asp:Label runat="server" ID="lblEurope" CssClass="Label" /></td>
</tr>
<tr>
<td>Ship Design Level:</td><td><asp:Label runat="server" ID="lblShipDesignLevel" CssClass="Label" /></td>
<td>Engine:</td><td><asp:Label runat="server" ID="lblEngine" CssClass="Label" /></td>
</tr>
<tr>
<td>Ship Design Change:</td><td><asp:Label runat="server" ID="lblShipDesignChange" CssClass="Label" /></td>
<td># of Boards:</td><td><asp:Label runat="server" ID="lblNumOfBoards" CssClass="Label" /></td>
</tr>
<tr>
<td>Destination:</td><td><asp:Label runat="server" ID="lblDestination" CssClass="Label" /></td>
</tr>
</table>
</ContentTemplate>
</telerik:RadDock>
<telerik:RadDock ID="rdkLineSetup" runat="server" Width="500px"
Title="Process Options" EnableAnimation="true" Resizable="true" AllowedZones="rdz2" Collapsed="true">
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<table class="RadDockNonPadded">
<tr>
<td>Switch To Service:</td><td style="width:100px"><asp:Image ID="imgSwitchService" runat="server" ImageUrl="~/Images/Active.png" /></td>
<td>IFP Check:</td><td><asp:Image ID="imgIFPCheck" runat="server" ImageUrl="~/Images/Active.png" /></td>
</tr>
<tr>
<td>SRS:</td><td style="width:100px"><asp:Image ID="imgSRS" runat="server" ImageUrl="~/Images/Delete.png" /></td>
<td>BSMT Check:</td><td><asp:Image ID="imgBSMTCheck" runat="server" ImageUrl="~/Images/Active.png" /></td>
</tr>
<tr>
<td>Destination Label:</td><td style="width:100px"><asp:Image ID="imgDestLabel" runat="server" ImageUrl="~/Images/Delete.png" /></td>
<td>RH Check:</td><td><asp:Image ID="imgRHCheck" runat="server" ImageUrl="~/Images/Active.png" /></td>
</tr>
<tr>
<td>Outside Processor:</td><td style="width:100px"><asp:Image ID="imgOutside" runat="server" ImageUrl="~/Images/Delete.png" /></td>
<td>Swave Check:</td><td><asp:Image ID="imgSwaveCheck" runat="server" ImageUrl="~/Images/Active.png" /></td>
</tr>
<tr>
<td>Axial Check:</td><td style="width:100px"><asp:Image ID="imgAxialCheck" runat="server" ImageUrl="~/Images/Delete.png" /></td>
<td>Stress/Aging:</td><td><asp:Image ID="imgStressAging" runat="server" ImageUrl="~/Images/Active.png" /></td>
</tr>
<tr>
<td>B-Side First:</td><td style="width:100px"><asp:Image ID="imgBSideFirst" runat="server" ImageUrl="~/Images/Delete.png" /></td>
<td>XRay Check:</td><td><asp:Image ID="imgXRayCheck" runat="server" ImageUrl="~/Images/Active.png" /></td>
</tr>
<tr>
<td>Number of Covers:</td><td style="width:100px"><asp:Label runat="server" ID="lblNumOfCovers" CssClass="Label" /></td>
<td>&nbsp;</td><td>&nbsp;</td></tr></table>
</ContentTemplate>
</telerik:RadDock>
<telerik:RadDock ID="rdkCPUA" runat="server" Width="500px" Title="CPU Information (A-Side)" EnableAnimation="true" Resizable="true" AllowedZones="rdz2" Collapsed="true">
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<table class="RadDockNonPadded">
<tr>
<td>&nbsp;</td><td style="width:125px;">ID Number</td><td style="width:125px;">Part Number</td><td style="width:125px;">Silk Location</td></tr><tr>
<td>CPU 1</td><td><asp:Label runat="server" ID="lblCPUID1A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart1A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk1A" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 2</td><td><asp:Label runat="server" ID="lblCPUID2A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart2A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk2A" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 3</td><td><asp:Label runat="server" ID="lblCPUID3A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart3A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk3A" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 4</td><td><asp:Label runat="server" ID="lblCPUID4A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart4A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk4A" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 5</td><td><asp:Label runat="server" ID="lblCPUID5A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart5A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk5A" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 6</td><td><asp:Label runat="server" ID="lblCPUID6A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart6A" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk6A" CssClass="Label" /></td>
</tr>
</table>
</ContentTemplate>
</telerik:RadDock>
<telerik:RadDock ID="rdkCPUB" runat="server" Width="500px"
Title="CPU Information (B-Side)" EnableAnimation="true" Resizable="true"
AllowedZones="rdz2" Collapsed="true">
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<table class="RadDockNonPadded">
<tr>
<td>&nbsp;</td><td style="width:125px;">ID Number</td><td style="width:125px;">Part Number</td><td style="width:125px;">Silk Location</td></tr><tr>
<td>CPU 1</td><td><asp:Label runat="server" ID="lblCPUID1B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart1B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk1B" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 2</td><td><asp:Label runat="server" ID="lblCPUID2B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart2B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk2B" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 3</td><td><asp:Label runat="server" ID="lblCPUID3B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart3B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk3B" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 4</td><td><asp:Label runat="server" ID="lblCPUID4B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart4B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk4B" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 5</td><td><asp:Label runat="server" ID="lblCPUID5B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart5B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk5B" CssClass="Label" /></td>
</tr>
<tr>
<td>CPU 6</td><td><asp:Label runat="server" ID="lblCPUID6B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUPart6B" CssClass="Label" /></td>
<td><asp:Label runat="server" ID="lblCPUSilk6B" CssClass="Label" /></td>
</tr>
</table>
</ContentTemplate>
</telerik:RadDock>
<telerik:RadDock ID="rdkProdPlan" runat="server" Width="500px" Title="Production Planning" EnableAnimation="true" Resizable="true"
AllowedZones="rdz2" Collapsed="true">
<Commands>
<telerik:DockExpandCollapseCommand />  <- no issue with this
<telerik:DockPinUnpinCommand />   <- or this
</Commands>
<ContentTemplate> <-- all content and commands below here have errors                                                                                                                               
<commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</commands>
<ContentTemplate>
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</commands>
<ContentTemplate>
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<Commands>
<telerik:DockExpandCollapseCommand />
<telerik:DockPinUnpinCommand />
</Commands>
<ContentTemplate>
<table class="RadDockNonPadded">
<tr>
<td style="width: 397px">
<telerik:RadTabStrip ID="rtsContainerInfo" runat="server" MultiPageID="rmpContainerInfo" Width="400px">
<tabs>
<telerik:RadTab Selected="true" Text="Honda of America">
</telerik:RadTab>
<telerik:RadTab Text="Honda Canada">
</telerik:RadTab>
<telerik:RadTab Text="American Honda">
</telerik:RadTab>
</tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="rmpContainerInfo" runat="server" CssClass="pageView" SelectedIndex="0" Width="378px">
<telerik:RadPageView ID="rpvSpecControl" runat="server">
<table>
<tr>
<td>HAM Part Number:</td>
<td>
<asp:Label ID="lblHamPN" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Part Number Ext:</td>
<td>
<asp:Label ID="lblHamExt" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Delta Level:</td>
<td>
<asp:Label ID="lblHamDelta" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>EDI C.O.O:</td>
<td>
<asp:Label ID="lblHamEDI" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Label C.O.O:</td>
<td>
<asp:Label ID="lblHamLabel" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>HAM Supplier Code:</td>
<td>
<asp:Label ID="lblHamSupplier" runat="server" CssClass="Label" />
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="rpvProdPlanning" runat="server">
<table>
<tr>
<td>HCM Part Number:</td>
<td>
<asp:Label ID="lblHcmPN" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Part Number Ext:</td>
<td>
<asp:Label ID="lblHcmExt" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Delta Level:</td>
<td>
<asp:Label ID="lblHcmDelta" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>EDI C.O.O:</td>
<td>
<asp:Label ID="lblHcmEDI" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Label C.O.O:</td>
<td>
<asp:Label ID="lblHcmLabel" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>HCM Supplier Code:</td>
<td>
<asp:Label ID="lblHcmSupplier" runat="server" CssClass="Label" />
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="rpvCurrentProd" runat="server">
<table>
<tr>
<td>AHM Part Number:</td>
<td>
<asp:Label ID="lblAhmPN" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Part Number Ext:</td>
<td>
<asp:Label ID="lblAhmExt" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Delta Level:</td>
<td>
<asp:Label ID="lblAhmDelta" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>EDI C.O.O:</td>
<td>
<asp:Label ID="lblAhmEDI" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Label C.O.O:</td>
<td>
<asp:Label ID="lblahmLabel" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>AHM Supplier Code:</td>
<td>
<asp:Label ID="lblAhmSupplier" runat="server" CssClass="Label" />
</td>
</tr>
</table>
</telerik:RadPageView>
</telerik:RadMultiPage>
</td>
<td>
<table>
<tr>
<td>Shipping Label:</td>
<td>
<asp:Label ID="lblShipLabel" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Box Quantity:</td>
<td>
<asp:Label ID="lblBoxQuantity" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>MSD:</td>
<td>
<asp:Label ID="lblMSD" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td>Manual Line:</td>
<td>
<asp:Label ID="lblManualLine" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td colspan="2">Part Description:</td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="lblDesc" runat="server" CssClass="Label" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="lblDesc2" runat="server" CssClass="Label" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</ContentTemplate>
</telerik:RadDock>
</telerik:RadDockZone>
</td>
</tr>
</table>
</telerik:RadDockLayout>
<asp:Label runat="server" ID="lblMsg" ForeColor="Red" />
</div>
</telerik:RadAjaxPanel>

1 Answer, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 06 Jun 2018, 11:51 AM
I removed all those tags in question and it worked fine.
Tags
Dock
Asked by
Mark
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Share this question
or