Aug 16, 2011, 3:03 PM
DateField Problem
Hi All,
Why the DateField not displayed in right place?
the operated process:
1. Click the DateField image:
2. It displayed as:
The code snippet:
Why the DateField not displayed in right place?
the operated process:
1. Click the DateField image:
2. It displayed as:
The code snippet:
<ext:Panel ID="panelList" runat="server" Title="科研项目" Height="700">
<Items>
<ext:BorderLayout ID="BorderLayout1" runat="server">
<North MarginsSummary="5 5 5 5">
<ext:TabPanel ID="TabPanel1" runat="server" Height="160">
<Items>
<ext:FormPanel ID="Panel1" runat="server" Title="项目查询" PaddingSummary="5" Layout="FormLayout">
<Items>
<ext:TableLayout ID="tbQuery" ColumnWidth="0.33" Columns="3" runat="server">
<Cells>
<ext:Cell>
<ext:TextField ID="txtProjectName" FieldLabel="项目名称" runat="server"></ext:TextField>
</ext:Cell>
<ext:Cell>
<ext:TextField ID="txtCharger" FieldLabel="项目负责人" runat="server"></ext:TextField>
</ext:Cell>
<ext:Cell>
<ext:TextField ID="txtDepName" FieldLabel="承接部门名称" runat="server"></ext:TextField>
</ext:Cell>
</Cells>
<Cells>
<ext:Cell>
<ext:Checkbox ID="chkIsEnded" FieldLabel="是否结项" runat="server">
<Listeners>
<Check Fn="chkIsEnded_Checked(this)" />
</Listeners>
</ext:Checkbox>
</ext:Cell>
<ext:Cell CellId="clDateStart">
<ext:DateField ID="dfStart" FieldLabel="结项时间上限" Format="yyyy-MM-dd" Width="220" runat="server" />
</ext:Cell>
<ext:Cell CellId="clDateEnd">
<ext:DateField ID="dfEnd" FieldLabel="结项时间下限" Format="yyyy-MM-dd" Width="220" runat="server" />
</ext:Cell>
</Cells>
<Cells>
<ext:Cell ColSpan="3">
<ext:Button ID="btnSubmit" runat="server" Text="确定" Height="20" Width="80" OnDirectClick="btnSubmit_DirectClick">
</ext:Button>
</ext:Cell>
</Cells>
</ext:TableLayout>
</Items>
</ext:FormPanel>
</Items>
</ext:TabPanel>
</North>
Last edited by geoffrey.mcgill; Aug 17, 2011 at 1:06 AM.
Reason: please use [CODE] tags