Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-21-2011, 05:38 AM   PM User | #1
badripennati
New to the CF scene

 
Join Date: Sep 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
badripennati is an unknown quantity at this point
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.
badripennati is offline   Reply With Quote
Reply

Bookmarks

Tags
asp.net

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:42 AM.


Advertisement
Log in to turn off these ads.