I am bringing my mature SL app to WPF. I am quite liberal with the use of AutoCompleteBoxes and often have more than one on a page.
The data for the dropdown of each Auto...box comes from a database table. Instead of running to the Database for each Auto..box's list, I bring up the list for the whole page, and then use a subset of that list when the user navigates to a given Auto...box. All my lists are of the MobileList kind. This has worked fine in SL. (The same is happening with BusinessListBase)
In WPF the behavior is strange. The lists do appear in the dropdown, but when I choose an item with mouse the selection immediately disappears and the box remains empty. When I make the selection by using the up-down arrow keys on the keyboard, the selection behaves normally.
Now here is the interesting part. If, instead of displaying the subset (Path = FilteredList), I use the entire list (Path = Model), everything works fine. The workaround I have used on one instance of AutoCompleteBox is to create another class specifically to hold the selected subset. Using that I can set the Path = Model, and with that things appear to work. With the number Auto..boxses, making the change to all is, well, daunting.
So I thought I should ask if there is a simpler solution for this.
I'll appreciate any suggestions.
Javed