ASPxComboBox.SelectedIndex Property
Specifies the index of the selected list item.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v22.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | -1 | The index of the selected item. |
Remarks
The ASPxComboBox.SelectedIndexChanged event fires when end users change the selection in the editor list or you change the SelectedItem or SelectedIndex properties.
<dx:ASPxComboBox ID="ASPxComboBox1" runat="server">
<Items>
<dx:ListEditItem Text="Afghanistan" Value="1" />
<!--...-->
</Items>
</dx:ASPxComboBox>
See Also