In Development
Last Updated: 14 Mar 2024 09:08 by ADMIN
Martin Ivanov
Created on: 05 Mar 2024 09:41
Category: AutoCompleteBox
Type: Bug Report
AutoCompleteBox: SearchText property value is not cleared on SelectionMode changed

When the SelectionMode of RadAutoCompleteBox is changed, the search text is cleared. However, this clears only the Text property of the underlying TextBox element. The SearchText property of the control is not cleared.

To work this around, you can manually set the SearchText after setting the SelectionMode.
this.autoCompleteBox.SelectionMode = AutoCompleteSelectionMode.Multiple;
this.autoCompleteBox.SearchText = null;