We help IT Professionals succeed at work.
Get Started

How do I prevent pop-up blocker from firing within a ASP.NET 4.5 application

Paul Mauriello
Last Modified: 2015-03-15
How do I prevent pop-up blocker from firing within a ASP.NET 4.5 application?

If popups are not initiated from users actions, if a user clicks a button then an ajax call is initiated then a popup is displayed.  The ajax call is forcing the browser to think the user didn't directly cause an action to open the popup thus becomes blocked.

Is there some kind of global setting or trickery I can put in the web.config, basically saying don't fire the pop up blocker within this application? For Chrome and other browsers.
Watch Question
Software Programmer Developer Analyst Engineer
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE