Welcome Guest Search | Active Topics | Sign In | Register

Eo.Browser Before download event Options
Jason
Posted: Monday, January 11, 2016 9:35:33 PM
Rank: Member
Groups: Member

Joined: 6/2/2015
Posts: 11
On browser's BeforeDownloadEventArgs. When I setup ShowDialog field to false, in theory it should save file to temp folder without open dialog. Which Eo.Browser actually did open file dialog.

Reference to document:
http://www.essentialobjects.com/doc/eo.webbrowser.beforedownloadeventargs.showdialog.aspx

http://www.essentialobjects.com/doc/webbrowser/advanced/js.aspx
Customizing WebView => Customizing Download UI

The Eo.Browser version I have been using was 15.3.71.
eo_support
Posted: Tuesday, January 12, 2016 12:43:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

We tested this with our TabbedBrowser sample and it seems to work fine. In the latest build if you load TabbedBrowser, then open MainWindow.xaml.cs, change line 655 from "e.ShowDialog = true" to "e.ShowDialog = false", then run the sample and download a file. You will see that the file continue to download in the temp folder. Please try this on your end and see if it works for you.

Thanks!
Jason
Posted: Tuesday, January 12, 2016 3:39:29 PM
Rank: Member
Groups: Member

Joined: 6/2/2015
Posts: 11
I just found what happen to my code. I have reset showDialog to true before event ends. Sorry for wrong report.

Thanks for assist.
eo_support
Posted: Tuesday, January 12, 2016 4:02:35 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
No problem. Glad that you found out the root cause.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.