?
Solved

How do I check if the user has blocked the pop-up and pop up message that popups are turned off in ASP.Net?

Posted on 2011-02-28
4
Medium Priority
?
348 Views
Last Modified: 2012-05-11
I want check if the user turned off the popups and pop a message that popups are turned off.
how do I do it in ASP.Net?
0
Comment
Question by:reach_prgmmer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Accepted Solution

by:
Chandan_Gowda earned 668 total points
ID: 34998892
you can use a JavaScript. Please follow the below link.
http://davidwalsh.name/popup-block-javascript
0
 
LVL 5

Assisted Solution

by:sindhuxyz
sindhuxyz earned 668 total points
ID: 34999110
You cannot user server side script to control client browser, instead use JavaScript. You can use Javascript variables with your code behind as well
0
 
LVL 16

Assisted Solution

by:Kalpesh Chhatrala
Kalpesh Chhatrala earned 664 total points
ID: 34999158
Sample Java Script
var win = window.open(wurl, wname, wfeatures);
if(win == null || typeof(win) == "undefined") {
   alert("Please enabled popups for this site to continue.");  
}

Open in new window


check also below link
http://www.michaelbarton.name/2010/01/17/how-to-check-if-your-popup-was-blocked-using-javascript/
0
 

Author Closing Comment

by:reach_prgmmer
ID: 35010275
Thanks
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question