[置顶] Ext.Net 1.x_Ext.Net.Panel之列布局

Ext.Net 1.x_Ext.Net. 

我经常用到HTML中的表格,如果在EXT.NET 刚开始还真不知道怎么搞?

群里的APP CAI教我用PANEL 表示感谢!

<ext:Window ID="Window1" runat="server" Collapsible="true" Height="300" Icon="ApplicationEdit"
        Title="录入报价单基本信息" Width="600"  Closable="false">
        <Items>
        <ext:FormPanel ID="fpbasic" runat="server"  
         Height="270"
        Icon="ApplicationEdit" 
        ButtonAlign="Right" 
        Collapsed="false"  
        Padding="5"  
        Layout ="ColumnLayout"  
        AutoWidth="true">
            <Items>
                <ext:Panel ID="Panel1" runat="server"
                 LabelWidth="80" 
                 Border ="false"  
                 Header ="false" 
                 Layout="FormLayout" 
                 ColumnWidth=".50"
                 LabelAlign="Right"  
                  Height="250">
                    <Items>
                        <ext:TextField ID="txtQuotationCode" runat ="server" FieldLabel="报价单编号" AnchorHorizontal="100%" ></ext:TextField>
                        <ext:TextField ID="TextField1" runat ="server" FieldLabel="品名" AnchorHorizontal="100%" ></ext:TextField>
                        <ext:TextField ID="TextField2" runat ="server" FieldLabel="型号" AnchorHorizontal="100%" ></ext:TextField>
                        <ext:ComboBox ID="ts"  runat ="server" FieldLabel="销货类型" AnchorHorizontal="100%"></ext:ComboBox>
                        
                        <ext:NumberField ID="sfds"  runat="server"   FieldLabel="MOQ" AnchorHorizontal="100%"></ext:NumberField>
                    </Items>
                </ext:Panel>
                <ext:Panel ID="Panel2" runat="server"
                 LabelWidth="80" 
                 Border ="false"  
                 Header ="false" 
                 Layout="FormLayout" 
                 ColumnWidth=".50"
                 LabelAlign="Right"  
                  Height="250">
                    <Items>
                        <ext:ComboBox runat ="server" FieldLabel="客户编码" AnchorHorizontal="100%"></ext:ComboBox>
                       <ext:ComboBox ID="ComboBox1" runat ="server" FieldLabel="汇率" AnchorHorizontal="100%"></ext:ComboBox>
                       <ext:NumberField ID="sdfsd" runat ="server" FieldLabel="" AnchorHorizontal="100%"></ext:NumberField>
                        <ext:NumberField ID="NumberField1"  runat="server"   FieldLabel=" 工时" AnchorHorizontal="100%"></ext:NumberField>
                        <ext:Label ID="Label1" runat="server"   FieldLabel=" 工程师"  AnchorHorizontal="100%"></ext:Label>
                        <ext:DateField ID="DateField1"  runat="server"   FieldLabel="日期" AnchorHorizontal="100%"></ext:DateField>
                        
                    </Items>
                </ext:Panel>
            </Items>
            <Buttons>
                <ext:Button ID="Button2" runat="server" Icon="PageWord"  Text="上传附件">
                </ext:Button>
                <ext:Button ID="Button1" runat="server" Icon="Disk" Text="保存(通知开发部)">
                </ext:Button>
            </Buttons>
        </ext:FormPanel>
                </Items>
    </ext:Window>

 

你可能感兴趣的:(server,ext,layout,button,border)