Just installed SL5 and a set of tools that were released a few days ago.
The error occurs when you set the Text property of AutoCompleteBox to string.Empty. This causes the AutoCompleteBox to malfunction. To reproduce the error:
add an AutoCompleteBox and a button to the home page. Register for TextChanged and Click events. This is the code:
public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); } private void button1_Click(object sender, RoutedEventArgs e) { auto.Text = string.Empty; } private void auto_TextChanged(object sender, RoutedEventArgs e) {
At runtime:
1) enter “aa” in the auto box.
2) press the button.
3) enter "q". (TextChanged is still being called).
4) delete "q" - TextChanged is not called.
5) enter "q" again - TextChanged is not called.
6) etc., until you select a new letter. And then it begins.
source share