Tab

ASPxComboBox.SelectedItem Property

Specifies the selected item in the editor list.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

public ListEditItem SelectedItem { get; set; }

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>
See Also