Last Updated: 24 Sep 2020 10:43 by ADMIN
Release LIB 2020.3.928 (09/28/2020)
Martin Ivanov
Created on: 23 Sep 2020 12:41
Category: AutoSuggestBox
Type: Bug Report
AutoSuggestBox: TextBox part is not focused when Focus method of the control is called

If you call the Focus method of RadAutoSuggestBox, the focus doesn't propagate to the child RadWatermarkTextBox.

To work this around, get the RadWatermarkTextBox control and call its Focus method instead.

var textBox = this.autoSuggestBox.FindChildByType<RadWatermarkTextBox>();
textBox .Focus();

// Note that this code should be executed after the RadAutoSuggestBox control is loaded (on the Loaded event or later).