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>

posted @ 2013-11-09 10:26  5101052  阅读(3009)  评论(0编辑  收藏  举报