zoukankan      html  css  js  c++  java
  • ASPxDropDownEdit的几种用法

    <dx:ASPxDropDownEdit ClientInstanceName="xDropDownEditAppCountry" ID="xDropDownEditAppCountry"
    SkinID="CheckComboBox" Width="180px" runat="server" EnableAnimation="False">
    <DropDownWindowTemplate>
    <dx:ASPxListBox Width="100%" ID="listBoxAppCountry" ClientInstanceName="checkListBoxAppCountry"
    SelectionMode="CheckColumn" runat="server" SkinID="CheckComboBoxListBox">
    <ClientSideEvents SelectedIndexChanged="OnListBoxAppCountrySelectionChanged" />
    </dx:ASPxListBox>
    </DropDownWindowTemplate>
    <ClientSideEvents TextChanged="SynchronizeListBoxAppCountryValues" DropDown="SynchronizeListBoxAppCountryValues" />
    </dx:ASPxDropDownEdit>


    <dx:ASPxDropDownEdit ClientInstanceName="xDropDownEditFileLevel" ID="xDropDownEditFileLevel"
    SkinID="CheckComboBox" Width="180px" runat="server" EnableAnimation="False">
    <DropDownWindowTemplate>
    <dx:ASPxListBox Width="100%" ID="listBoxFileLevel" ClientInstanceName="checkListBoxFileLevel"
    SelectionMode="CheckColumn" runat="server" SkinID="CheckComboBoxListBox">
    <ClientSideEvents SelectedIndexChanged="OnListBoxFileLevelSelectionChanged" />
    <Items>
    <dx:ListEditItem Text="全选" Value="9" />
    <dx:ListEditItem Text="核心" Value="核心" />
    <dx:ListEditItem Text="重要" Value="重要" />
    <dx:ListEditItem Text="普通" Value="普通" />
    <dx:ListEditItem Text="不重要" Value="不重要" />
    </Items>
    </dx:ASPxListBox>
    </DropDownWindowTemplate>
    <ClientSideEvents TextChanged="SynchronizeListBoxFileLevelValues" DropDown="SynchronizeListBoxFileLevelValues" />
    </dx:ASPxDropDownEdit>


    <dx:ASPxDropDownEdit ClientInstanceName="xDropDownEditAppCountry" ID="xDropDownEditAppCountry"
    SkinID="CheckComboBox" Width="180px" runat="server" EnableAnimation="False">
    <DropDownWindowTemplate>
    <dx:ASPxListBox Width="100%" ID="listBoxAppCountry" ClientInstanceName="checkListBoxAppCountry"
    SelectionMode="CheckColumn" runat="server" SkinID="CheckComboBoxListBox">
    <ClientSideEvents SelectedIndexChanged="OnListBoxAppCountrySelectionChanged" />
    </dx:ASPxListBox>
    </DropDownWindowTemplate>
    <ClientSideEvents TextChanged="SynchronizeListBoxAppCountryValues" DropDown="SynchronizeListBoxAppCountryValues" />
    </dx:ASPxDropDownEdit>

    <dx:ASPxDropDownEdit ID="DropDownEdit" runat="server" ClientInstanceName="DropDownEdit"
    Width="170px" AllowUserInput="False" EnableAnimation="False">
    <DropDownWindowStyle>
    <Border BorderWidth="0px" />
    </DropDownWindowStyle>
    <DropDownWindowTemplate>
    <dx:ASPxTreeList ID="TreeList" runat="server" AutoGenerateColumns="False" ClientInstanceName="TreeList"
    OnCustomJSProperties="TreeList_CustomJSProperties" OnDataBound="TreeList_DataBound"
    KeyFieldName="n_KeyID" OnInit="TreeList_OnInit" ParentFieldName="n_ParentKeyID">
    <Border BorderStyle="Solid" />
    <SettingsEditing ConfirmDelete="true" />
    <SettingsPager Mode="ShowAllNodes" />
    <SettingsSelection Enabled="true" Recursive="true" />
    <Columns>
    <dx:TreeListTextColumn FieldName="n_KeyID" Width="50px" Caption="" Visible="False"
    VisibleIndex="0">
    </dx:TreeListTextColumn>
    <dx:TreeListTextColumn FieldName="s_CName" Caption="机构名称" Width="150px" VisibleIndex="1">
    </dx:TreeListTextColumn>
    <dx:TreeListTextColumn FieldName="n_ParentKeyID" Width="50px" Visible="False" VisibleIndex="2">
    </dx:TreeListTextColumn>
    </Columns>
    <ClientSideEvents Init="TreeListInitHandler" EndCallback="TreeListEndCallbackHandler"
    NodeClick="TreeListNodeClickHandler" SelectionChanged="setSelectValue" FocusedNodeChanged="setSelectValue" />
    </dx:ASPxTreeList>
    </DropDownWindowTemplate>
    </dx:ASPxDropDownEdit>

  • 相关阅读:
    杭电1466------简单的dp
    hdu2037-----------贪心, 活动安排问题
    两个钟表问题。
    杭电HDU1042(有点坑的高精度)
    hd1496---->这道题是水水的数论吗?
    LightOJ::1077 -----奇妙的最大公约数
    并查集练兵场
    欧拉函数
    位运算---水题
    矩阵快速幂
  • 原文地址:https://www.cnblogs.com/zhousilai/p/3415347.html
Copyright © 2011-2022 走看看