ASPxComboBox.SelectedItem Property
Specifies the selected item in the editor list.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
ListEditItem | The selected item. |
Remarks
Use the SelectedItem property to get or set the selected item within the ASPxComboBox editor. Use the ASPxComboBox.SelectedIndexChanged event to handle the item selection.
<dx:ASPxComboBox ID="ASPxComboBox1" runat="server">
<Items>
<dx:ListEditItem Text="Afghanistan" Value="1" />
<!--...-->
</Items>
</dx:ASPxComboBox>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SelectedItem property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.