TreeListComboBoxColumn.PropertiesComboBox Property
Gets the column editor’s settings.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
ComboBoxProperties | A ComboBoxProperties object that contains settings specific to a combobox editor. |
Remarks
The PropertiesComboBox property allows you to access and customize the settings of the combo box editor.
<dx:ASPxTreeList ID="ASPxTreeList1" runat="server" DataSourceID="SqlDataSource1" KeyFieldName="CustomerID" >
<Columns>
<dx:TreeListTextColumn FieldName="CompanyName" VisibleIndex="0" />
<dx:TreeListComboBoxColumn FieldName="City" VisibleIndex="1">
<PropertiesComboBox DataSourceID="SqlDataSource2" TextField="City" />
</dx:TreeListComboBoxColumn>
</Columns>
</dx:ASPxTreeList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="..."
SelectCommand="SELECT [CustomerID], [CompanyName], [City] FROM [Customers]" />
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="..."
SelectCommand="SELECT [City] FROM [Customers]" />
See Also