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>

  • 相关阅读:
    视图与URL配置--Hello world
    初始Django
    Django 学习之前提
    MySQL--解决中文乱码
    第二课时之c#语言基础
    第一课时之c#程序设计概述
    hdu--1029--思维题
    hdu--1028--dp||递推||母函数
    hdu--1026--bfs&&优先队列&&打印路径
    hdu--1027-next_permutation||dfs
  • 原文地址:https://www.cnblogs.com/zhousilai/p/3415347.html
Copyright © 2011-2022 走看看