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.