Oct 05, 2010, 7:00 PM
[CLOSED] RowLayout inside of TabPanel inside of Window causing multiple issues
The first issue is that if I set Split to true on the rowLayout the page errors with:
Message: 'el' is null or not an object
Line: 2054
Char: 41
Code: 0
URI: http://localhost/wapadvisor/extnet/e...xt.axd?v=27308
The second issue is that if I set split to false (so that the page doesn't error), the image "apply.png" on the second tab does not display. If I comment out the first panel completely the image displays properly. Here is the code:
Message: 'el' is null or not an object
Line: 2054
Char: 41
Code: 0
URI: http://localhost/wapadvisor/extnet/e...xt.axd?v=27308
The second issue is that if I set split to false (so that the page doesn't error), the image "apply.png" on the second tab does not display. If I comment out the first panel completely the image displays properly. Here is the code:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="rlmTest1.aspx.vb" Inherits="WAP.Web.Advisor.rlmTest1" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Window ID="ActionWindow" runat="server" Layout="fit" Width="1024" Height="800" Title="Action: Price Fix" Icon="MoneyDollar" Modal="true" Hidden="false">
<Items>
<ext:FitLayout runat="server" ID="FitLayout1">
<Items>
<ext:TabPanel ID="ActionTabPanel" runat="server" Border="false">
<Items>
<ext:Panel ID="Inputs" runat="server" Border="false" Title="Inputs" Padding="0">
<Items>
<ext:RowLayout ID="RowLayout1" runat="server" Split="true">
<Rows>
<ext:LayoutRow RowHeight="0.4">
<ext:GridPanel runat="server">
<Store>
<ext:Store ID="GoodAssetsStore" runat="server">
<Reader>
<ext:JsonReader IDProperty="AssetID_in">
<Fields>
<ext:RecordField Name="AssetID_in"></ext:RecordField>
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
</Store>
<ColumnModel ID="ColumnModel2" runat="server">
<Columns>
<ext:Column Header="AssetID" Width="160" DataIndex="AssetID_in" />
</Columns>
</ColumnModel>
</ext:GridPanel>
</ext:LayoutRow>
<ext:LayoutRow RowHeight="0.6">
<ext:Button runat="server"></ext:Button>
</ext:LayoutRow>
</Rows>
</ext:RowLayout>
</Items>
</ext:Panel>
<ext:Panel ID="Results" runat="server" Border="true" Title="Results" Icon="MoneyDollar" Disabled="false" >
<Items>
<ext:RowLayout ID="RowLayoutA" runat="server">
<Rows>
<ext:LayoutRow>
<ext:Panel ID="Panel1" runat="server" Border="false" Padding="10">
<Content>
<div style="text-align:center">
All of the eligible assets have been successfully priced.<br />
</div>
</Content>
</ext:Panel>
</ext:LayoutRow>
<ext:LayoutRow>
<ext:Panel ID="Panel4" runat="server" Layout="hbox" Border="false" Padding="20">
<Items>
<ext:Container ID="Container4" runat="server" Flex="1" />
<ext:Container ID="Container5" runat="server">
<Items>
<ext:Image ID="Image2" runat="server" ImageUrl="Images/apply.png" Height="48" Width="48" />
</Items>
</ext:Container>
<ext:Container ID="Container6" runat="server" Flex="1" />
</Items>
</ext:Panel>
</ext:LayoutRow>
</Rows>
</ext:RowLayout>
</Items>
</ext:Panel>
<ext:Panel ID="Process" runat="server" Border="false" Title="Process">
<Items>
</Items>
</ext:Panel>
</Items>
</ext:TabPanel>
</Items>
</ext:FitLayout>
</Items>
</ext:Window>
</form>
</body>
</html>
Last edited by Daniil; Oct 06, 2010 at 7:17 PM.
Reason: [CLOSED]