How to remove default selection from AutoComplete dropdown?
4 Oct 2018 / 1 minute to read
To remove the default selection in AutoComplete dropdown, set SelectedIndex property to -1 inside the DropdownDisplayed event of the AutoComplete control as follows.
private void autoComplete1_DropDownDisplayed(object sender, EventArgs e)
{
this.autoComplete1.SelectedIndex = -1;
}
Private Sub autoComplete1_DropDownDisplayed(ByVal sender As Object, ByVal e As EventArgs)
Me.autoComplete1.SelectedIndex = -1
End Sub
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page