Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
09-21-2011, 06:38 AM #1
- Join Date
- Sep 2011
- Thanked 0 Times in 0 Posts
File download issue in IE7 after recaptcha validation
To help protect your security, Windows Internet Explorer blocked this site from downloading files to your computer. Click here for more options...
I am receiving this error when I try to initiate a download after successfully filling a captcha in my asp.net C# website. Has anybody faced this issue earlier? If so can you please let me know how you have tried to make it work. I have no option to remove the AJAX calls in my code. This issue seems to be specific to IE7. The work around suggested for this issue by microsoft is 'To ensure that your Web site downloads are not blocked, do not automatically launch a file download. Instead, use hyperlinks or buttons that require a user action. If you use a script to navigate to the resource, it must run synchronously within the context of the OnClick event handler for the link.' I even tried to create a button dynamically and trigger a click after my AJAX call is completed. Even then the issue is not resolved.