• 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>

  • 相关阅读:
    从零搭建springboot+mybatis逆向工程
    基础SQL总结
    Map集合浅谈
    ArrayList、LinkedList与Vector的区别
    java多线程总结
    P4108 [HEOI2015]公约数数列
    P2168 [NOI2015] 荷马史诗
    正睿 2021 Noip 十连测 Day2
    CF772E Verifying Kingdom
    BZOJ1767 [CEOI2009] Harbingers
  • 原文地址:https://www.cnblogs.com/zhousilai/p/3415347.html
Copyright © 2020-2023  润新知