when first aspx page loads i want to display second aspx popup

Posted by Amar888 under Regular Expressions on 6/17/2010 | Views : 2502 | Status : [Member] | Replies : 3
i have two aspx pages in my application ,when first aspx page loads i want to display second aspx popup please help me if any one know




Responses

Posted by: Vuyiswamb on: 6/17/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down

window.open("Page1.aspxl","Window1",

"menubar=no,width=430,height=360,toolbar=no");


Thank you for posting at Dotnetfunda
[Administrator]

Amar888, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhilan on: 6/18/2010 [Member] Starter

Up
0
Down
write javascript function to call second.aspx

function LoadsecondPage()
{
window.open("Page2.aspxl","Window1","menubar=no,width=100,height=100);
}

call the above javascript function in Page1 <body > tag

ex.

in page1

<body onload="javascript:LoadsecondPage()">

Amar888, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nandy on: 7/3/2010 [Member] Starter

Up
0
Down
void Page_load(object sender, EventArgs e)
{
this.Page.Attributes.Add( "onload",
javascript:window.open('Webform1.aspx','_blank','height=355,width=710,status=no,toolbar=no,
menubar=no,location=no,scrollbars=no,); return false;" );
}

Amar888, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response