Popup window

  • Thread starter Thread starter Gomathi
  • Start date Start date
G

Gomathi

Hi All,

In my web application, i use this following code to open a pop up window.
Its working in my machine.

Response.Write("var win =
window.open('ResponseCountReport.aspx',null,'height =300 width=420
scrollbars=yes');");

But when i hosted my application in my ISP server, its not working.
Any idea where the problem will be?

Thanks in advance.
Regards,
Gomathi
 
what javascript error message you are getting? Also try calling code
directly instead of assigning to variable..
javascript:void(window.open('ResponseCountReport.aspx',null,'height
=300,width=420,scrollbars=yes')
 
Gomathi,

Are you sure you have set your browser to allow all popups. AFAIK If you are
doing it from your domain than you have other security settings than from
your ISP.

By the way using Popup has not so much sense anymore because Microsoft has
protected them by there latest servicepacks not to show them.

As well do you have to check what properties are in it. By instance without
a control box are they not allowed anymore.

I hope this helps,

Cor
 
Back
Top