Welcome Guest Search | Active Topics | Sign In | Register

WebBrowser Download Options
Rick Morayniss
Posted: Friday, May 1, 2015 1:04:33 PM
Rank: Advanced Member
Groups: Member

Joined: 12/30/2013
Posts: 68
I am changing the way I open pdf and mp4 files from Anchor links to using your Download method.
My only issue is I cannot find in your docs how to implement the download through code.
I have my code from the anchor link going to a callback, but what is the process to call the before_download.
eo_support
Posted: Friday, May 1, 2015 4:58:32 PM
Rank: Administration
Groups: Administration

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

I am not sure what you meant by "implement the download through code". If you just want to download a file from the server, you just write code to download it from the server ---- that part does not have anything to do with us. If you want to display it, then that's when you use EO.WebBrowser. If user clicks an Url inside EO.WebBrowser and you want to force to download that Url (instead of displaying it), then you would handle ShouldForceDownload event and set the event argument's ForceDownload property to true in your event handler.

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.