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.
|
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!
|