Rank: Member Groups: Member
Joined: 1/13/2014 Posts: 12
|
Hello,
I am using WebBrowser 2.0.25.0 and I've noticed that there appears to be no default File Download handling. If I navigate to a webpage and click, for example, a zip file, I am not prompted with a save dialog or anything. Looking in the help file, there is a section titled "Customizing File Dialog", which makes it seem that there should be a default file dialog, if I do not handle the event myself.
In my application, I have not attached a handler for the fileDialog event.
If I do not handle the file dialog event manually, should a built in file dialog show to save a file?
|
Rank: Member Groups: Member
Joined: 1/13/2014 Posts: 12
|
Update:
It appears the cause is in the beforeDownload event. If I add a handler for the beforeDownload event and set e.showDialog = true, then the fileDialog event is fired. If I don't do this, the fileDialog event is never fired.
I would like to suggest a change. If the application does not handle the BeforeDownload event, I think it would more useful if the showDialog defaulted to true.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Thank you very much for the feedback!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
We have posted a new build that changed the default value to true. Note that even if the default value is true and the default dialog is used, you would still need to handle other download related events to provide download progress UI because there is no default implementation for the download progress UI.
Thanks!
|