FineUI 官方论坛

标题: windows控件item设置Item中的控件Visible为false,一直加载 [打印本页]

作者: 老白杨    时间: 2013-11-20 14:43
标题: windows控件item设置Item中的控件Visible为false,一直加载
本帖最后由 老白杨 于 2013-11-20 14:47 编辑

我改用HiddenField没有问题
<x:Window ID="WindowItem" Width="400px" Height="390px" Icon="TagBlue" Title="产品维护" Hidden="true"
            EnableMaximize="false" EnableCollapse="false" runat="server" EnableResize="false"
            IsModal="True"  Layout="Fit" EnableFrame="False" Target="Self" BodyPadding="5px">
            <Items>
            <x:Form ID="formItem" runat="server" ShowHeader="false" LabelAlign="Right" ShowBorder="false">
              <Rows>
            <x:FormRow>
            <Items>
             <xabel ID="txtID" runat="server" Label="ID" Visible="false" />
            </Items>
            </x:FormRow>
            </Rows>
            <Rows>
            <x:FormRow>
            <Items>
             <x:TwinTriggerBox ID="txtItemno" runat="server" Label="物料编码" />
            </Items>
            </x:FormRow>
            </Rows>
            <Rows>
            <x:FormRow>
            <Items>
            <xabel ID="txtName" runat="server" Label="品名" />
            </Items>
            </x:FormRow>
            </Rows>
            <Rows>
            <x:FormRow>
            <Items>
            <xabel ID="txtSpec" runat="server" Label="规格" />
            </Items>
            </x:FormRow>
            </Rows>
            <Rows>
            <x:FormRow>
            <Items>
            <x:NumberBox ID="txtQty" runat="server" Label="数量" />
            </Items>
            </x:FormRow>
            </Rows>
            <Rows>
            <x:FormRow>
            <Items>
            <x:NumberBox ID="txtPrice" runat="server" Label="单价" />
            </Items>
            </x:FormRow>
            </Rows>
            <Rows>
            <x:FormRow>
            <Items>
            <x:NumberBox ID="txtTax" runat="server" Label="税金" />
            </Items>
            </x:FormRow>
            </Rows>
            <Rows>
            <x:FormRow>
            <Items>
            <x:CheckBox ID="txtIsNew" runat="server" Label="新品" />
            </Items>
            </x:FormRow>
            </Rows>
            <Rows>
            <x:FormRow>
            <Items>
            <x:TextArea ID="txtRemark" runat="server" Label="备注" />
            </Items>
            </x:FormRow>
            </Rows>
            
            </x:Form>
            </Items>
            <Toolbars>
            <x:Toolbar ID="barItem" runat="server" Position="Footer">
            <Items>
            <x:ToolbarFill ID="baritemleft" runat="server" />
            <x:Button ID="ItemSave" runat="server" Icon="SystemSave" Text="保存" />
            <x:Button ID="ItemClose" runat="server" Icon="SystemClose" Text="关闭" />
            </Items>
            
            </x:Toolbar>
            </Toolbars>
        </x:Window>





欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/) Powered by Discuz! X3.4