How to remove default selection from AutoComplete dropdown?

4 Oct 20181 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.

  • C#
  • 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