Rank: Advanced Member Groups: Member
Joined: 3/11/2014 Posts: 57
|
Using the EO web browser (for wpf if that matters). When the user clicks on some file to download, how can we control the location? In chrome, the file just downloads to their "Downloads" folder. Simple.
In EO, a system file browser dialog appears.
And it is super confusing because while the folder view is of the last location they previously browsed to, the filename is a full path to some appdata temp location.
For example, running the TabbedBrowser sample, going to the essentialobjects.com downloads page, and selecting one of the items, my file choose has the filename set to C:\Users\rreynolds\AppData\Local\Temp\EOTotal_2014_Setup.exe
If I just click save, i think it goes to the folder where my explorer was located, but it really goes to that full path. If I navigate in the file chooser, the filename is converted to just the basename, and so when I save, it goes where i expect.
Maybe this is part user error, or part windows stupidity, but many users will be totally confused by this.
Is there any way to pre-select the path of the download file so that it either so it does not contain a full path (thereby just goes where the chooser is located, or contains a sensible path (like user downloads)?
Hope that made sense.
Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, Please see here for more details about how to customize the download related UIs, including disabling the default "Save As" dialog: http://www.essentialobjects.com/doc/6/customize/download.aspxTo save the file into your own location, you will need to set the e.FilePath in your BeforeDownload event handler. Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 3/11/2014 Posts: 57
|
That'll do. Thanks.
|