Declined
Last Updated: 03 Oct 2014 07:50 by ADMIN
ADMIN
Kalin
Created on: 29 Aug 2014 09:37
Category: AutoCompleteBox
Type: Bug Report
1
The highlighted item cannot be selected whenever the drop down is populated on GotFocus.

		
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
ADMIN
Kalin
Posted on: 03 Oct 2014 07:50
In scenarios like this one, the control should be populated only if the drop down is not open whenever the GotFocus event is fired. Please use the following code snippet as a reference:

private void RadAutoCompleteBox_GotFocus(object sender, RoutedEventArgs e)
{
    var autoCompleteBox = sender as RadAutoCompleteBox;
    if (!autoCompleteBox.IsDropDownOpen)
    {
        autoCompleteBox.Populate(autoCompleteBox.SearchText);
    }
}

Regards,
Kalin