1
votes

I am creating a metro style app and I've implemented the search contract with suggestions. When a suggestion is picked, it remains stored for other searches even if it doesn't exist anymore(like a web text field cache). How can I erase these suggestions?

(EDIT: and if it isn't possible to clean it programmatically how can I erase that suggestions manually, because they filled all the space in the search-box suggestion area.)

Search Suggestions

As you can see even if I don't search for anything the suggestions are there.

2
I am going to guess its not possible to modify a user's search suggestions because it might contain some other data the user wants, I suggest you research how a search contract works. You might have to use something else.Security Hound

2 Answers

1
votes

You cannot. The intent of the Search Charm is to remain open so the user can select multiple applications until he or she gets the desired results.

0
votes

I figured that out: Settings Charm > Change PC Settings (Windows 8 metro style control panel)) > Search > Erase History (i am not sure that is is the proper naming in english for the path i have windows in another language).