Jun 11, 2012, 10:23 AM
[CLOSED] layout issue when using RowLayout within column layout
Hi,
I implemented a specific layout that takes a RowLayout within a ColumnLayout, I had this JS error :
I implemented a specific layout that takes a RowLayout within a ColumnLayout, I had this JS error :
invalid label [Stopper sur une erreur]
...youtConfig:{split:true}});{id:"_pnl1",xtype:"panel",rowHeight:0.25,title:"test"}...
I reproduced the problem this is the code below : <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>
<html>
<head runat="server">
<meta name="viewport" content="width=device-width" />
</head>
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Viewport ID="Viewport1" runat="server">
<Items>
<ext:ColumnLayout ID="ColumnLayout1" runat="server" Split="true" FitHeight="true">
<Columns>
<ext:LayoutColumn ColumnWidth="0.6">
<ext:RowLayout ID="RowLayout1" runat="server" Split="true">
<Rows>
<ext:LayoutRow RowHeight="0.25">
<ext:Panel ID="_pnl1" runat="server" Title="test" />
</ext:LayoutRow>
<ext:LayoutRow RowHeight="0.25">
<ext:Panel ID="_pnl2" runat="server" />
</ext:LayoutRow>
<ext:LayoutRow RowHeight="0.25">
<ext:Panel ID="_pnl3" runat="server" />
</ext:LayoutRow>
<ext:LayoutRow RowHeight="0.25">
<ext:Panel ID="_pnl4" runat="server" />
</ext:LayoutRow>
</Rows>
</ext:RowLayout>
</ext:LayoutColumn>
<ext:LayoutColumn ColumnWidth="0.4">
<ext:Panel ID="Panel2" runat="server" Title="Second Column" Html="This is some content." />
</ext:LayoutColumn>
</Columns>
</ext:ColumnLayout>
</Items>
</ext:Viewport>
</body>
</html>
Thank you in advance.
Last edited by Daniil; Jun 11, 2012 at 2:53 PM.
Reason: [CLOSED]