This is a migrated thread and some comments may be shown as answers.

Tabbing after selecting all erases search text

1 Answer 27 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
danparker276
Top achievements
Rank 2
danparker276 asked on 06 May 2013, 06:23 PM
If everything is highlighted or selected and I tab out, I lose my search text.  The selectedItem is still correct, but the search text is blank.

in my sample when I tab from rc1 to rc2, I would have to do the following code to replace the search text because tabbing clears it:

        private void rc2_GotFocus(object sender, RoutedEventArgs e)
        {
            string si = rc1.SelectedItem.ToString();
            rc1.SearchText = si;
        }

<telerik:RadAutoCompleteBox x:Name="rc1" Margin="5 0 0 0"
                                         TextSearchMode="StartsWith" 
                                         SelectionMode="Single"  
                                             
                                       GotFocus="rc1_GotFocus"
                                    
                         AutoCompleteMode="SuggestAppend"
                        
                        Width="80" >
 
</telerik:RadAutoCompleteBox>
 
 
<telerik:RadAutoCompleteBox x:Name="rc2" Margin="5 0 0 0"
                                         TextSearchMode="StartsWith" 
                                         SelectionMode="Single"  
                                             
                                       GotFocus="rc2_GotFocus"
                                    
                         AutoCompleteMode="SuggestAppend"
                        
                        Width="80" >
 
</telerik:RadAutoCompleteBox>

1 Answer, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 10 May 2013, 03:37 PM
Hi Dan,

Thank you for pointing this out. It will be fixed into the next internal build that will available at the beginning of next week. It would be great if you download it in order to confirm it works at your side.

All the best,
Ivo
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
AutoCompleteBox
Asked by
danparker276
Top achievements
Rank 2
Answers by
Ivo
Telerik team
Share this question
or