Answered by:
File picker does not open the suggested location in windows 8 surface

Question
-
The file picker in windows 8 surface does not open the suggested start location for the second time after a file is opened or a file opened in any sub directories using the same. (using javascript).
How do I reset the start location every time I call the file picker (File Browser) using javascript ??
- Edited by Maitreyee Mohanty Monday, October 21, 2013 10:16 AM
Monday, October 21, 2013 10:06 AM
Answers
-
No. The suggested start location is a suggestion. After the first use it will remember the user's choice.
- Marked as answer by Jamles HezModerator Tuesday, October 29, 2013 8:10 AM
Tuesday, October 22, 2013 3:03 PMModerator
All replies
-
This is expected. The suggested start location is a suggestion. After the first use it will remember the user's choice.
--Rob
Monday, October 21, 2013 3:32 PMModerator -
Thanks Rob ! But is there any way to reset the start location whenever I call the file picker ??
- Edited by Maitreyee Mohanty Tuesday, October 22, 2013 9:01 AM
Tuesday, October 22, 2013 9:00 AM -
No. The suggested start location is a suggestion. After the first use it will remember the user's choice.
- Marked as answer by Jamles HezModerator Tuesday, October 29, 2013 8:10 AM
Tuesday, October 22, 2013 3:03 PMModerator -
Thanks Rob ! But is there any way to reset the start location whenever I call the file picker ??
Heres how I do it in C++, hopefully you can convert it to C#
FileOpenPicker^ openPicker = ref new FileOpenPicker(); openPicker->ViewMode = PickerViewMode::List; //or Thumbnail; openPicker->SuggestedStartLocation = PickerLocationId::PicturesLibrary; openPicker->FileTypeFilter->Append(".txt");
n.Wright
- Marked as answer by Jamles HezModerator Tuesday, October 29, 2013 8:10 AM
- Unmarked as answer by Rob Caplan [MSFT]Microsoft employee, Moderator Tuesday, October 29, 2013 5:55 PM
Tuesday, October 22, 2013 10:00 PM