How to remove default selection from AutoComplete dropdown?

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;
    
    }
  • vbnet
  • Private Sub autoComplete1_DropDownDisplayed(ByVal sender As Object, ByVal e As EventArgs)
    
        Me.autoComplete1.SelectedIndex = -1
    
    End Sub