The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have several Autocomplete control on the same form and I try to rest the index before displaying the dropdown using: void _autoComplete_DropDownDisplayed(object sender,EventArgs e) { //TODO: does not seem to work well ask syncfusion this._autoComplete.SelectedIndex = -1; this._autoComplete.SelectedValue = ""; }
The index is set to the same position as the last time I make a choice.
ARAnupama Roy Syncfusion Team October 5, 2006 11:28 AM UTC
Hi Oleg,
The SelectedIndex property of AutoComplete or ComboBoxAutoComplete does not serve the same purpose like a ComboBox control SelectedIndex and the implementation is quite different.According to the current implementation of AutoComplete,last browsed item will be set as the SelectedItem and index of the matching item is used internally to update this Text.
I will investigate on this furthur and let you know whether there is an alternative way to clear the last browsed item before the dropdown is displayed.