Page.ClientScript.RegisterStartupScript(this.GetType(), "openpopup", "<script language=javascript>window.open('Default2.aspx','test','height=350,width=280,top=250,left=300');</script>");
i have used this code in page load to view the window as popup one but its getting minimized
can any one help for this... it should not have minimize and maximize the page
|
| Author: Athira Appukuttan 16 Oct 2008 | Member Level: Diamond | Rating: Points: -20 |
<script language="JavaScript">
function PopUp() { var URL = "./index2.php"; var Name = "popup"; var Fensteroptionen = "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0"; var Breite = 800; var Hoehe = 600; window.open(URL, 'Name', Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe); } //--> </script> </head> <body onload=PopUp();>
Refer: http://forums.asp.net/p/1091365/1637047.aspx
|
| Author: vallimohan 16 Oct 2008 | Member Level: Silver | Rating: Points: -20 |
<script language="JavaScript">
function PopUp() { var URL = "./index2.php"; var Name = "popup"; var Fensteroptionen = "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0"; var Breite = 800; var Hoehe = 600; window.open(URL, 'Name', Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe); } //--> </script> </head> <body onload=PopUp();>
hope this will help
|
| Author: vidhya 16 Oct 2008 | Member Level: Gold | Rating: Points: 1 |
its fine but if i click the back page then the popup window is getting minimized ...
|