当前位置: 代码迷 >> ASP.NET >> ext items 的有关问题
  详细解决方案

ext items 的有关问题

热度:3269   发布时间:2013-02-25 00:00:00.0
ext items 的问题
我用的ext 1.4

ext panel items 里面两个空间行距太短,有属性设置大点嘛?还有怎样在items里把两个不同的控件放在一行?

<ext:Panel 
  ID="Panel1"  
  Margins="50px"
  HideLabel="true"
  runat="server"
  Frame="true"
  Layout="form"
  Width="700"
  Height="250"
  StyleSpec="margin-top: 30px"
  LabelWidth="100"
  ButtonAlign="Center"
  >
  <Items>
  <ext:Label ID="Label1" Text="页面模块添加" runat="server" Cls="tab">
  </ext:Label>
  <ext:TextField ID="TextField1" runat="server" FieldLabel="页面名称" Text="test" Width="163"/>
  <ext:SelectBox ID="SelectBox1" FieldLabel="所属父级"
  runat="server" 
  DisplayField="state"
  ValueField="abbr"
  EmptyText="请选择"
  >
  </ext:SelectBox>  
   
  <ext:RadioGroup ID="RadioGroup1" runat="server" ColumnsWidths="100,100" FieldLabel="左侧显示">
  <Items>
  <ext:Radio ID="Radio1" runat="server" BoxLabel="是" Checked="true" />
  <ext:Radio ID="Radio2" runat="server" BoxLabel="否" />
  </Items>
  </ext:RadioGroup>
   
   
  <ext:TextField ID="TextField2" runat="server" FieldLabel="排序数值" Text="test" Width="163"/>
  <ext:TextField ID="TextField3" runat="server" FieldLabel="模块地址" Cls="input" Width="350"/>
   
  <ext:TextField ID="TextField4" runat="server" MaxLength="20" FieldLabel="模块描述" Cls="input" Width="350"/> 
  <ext:Label ID="Label2" Text="不超过20字" runat="server" style="color:#999"/>
  </Items>
   
  <Buttons>
  <ext:Button runat="server" Text="提交数据" Icon="Disk" />
  <ext:Button runat="server" Text="返回" Icon="Decline" />
  </Buttons>
 </ext:Panel>

------解决方案--------------------------------------------------------
你这个是 EXTJS的 插件嘛

extjs 本身是 AJAX 框架 怎么还有 runat="server" 这种东西,
我EXTJS 用了 差不多也有3年了 还没遇到过 这样用的
  相关解决方案