Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
HI,

I am using the asp.net c# 4.0, can i enable the browsers pop up functionality through Jaavscript or in code behind?
since in my application a child page will be called as a popup for showing print options (Popup from Code Behind).

Since in my application my clients may have their pop up blockers on.
I need to enable this feature from Javscript or code behind.


Any help ?
Posted
Updated 18-Nov-13 23:36pm
v2

1 solution

This Feature totally depends on client browser.You cannot enable or disable POPUP,Javascript in
client browser programmatically.It is upto the client choice on browser specification.As far as i know,you cannot do it.
 
Share this answer
 
v2
Comments
bbirajdar 19-Nov-13 4:12am    
I agree.. +5... Popup blocker is the security feature of the browsers especially created to avoid annoying popup ads. You cannot change it from code. If you want to show popups, then change your code and show it in a different way like AJAX ModalPopupExtenders .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900