In my page1.aspx I have button click event.
I want to call page2.aspx as popup page. It should open like popup .
How to do?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Munesh SharmaPosted Apr 24, 2014, 6:15 AM
Hi,
Try this
strScript =
"");
Nimit JoshiPosted Apr 24, 2014, 5:47 AM
xmlns="http://www.w3.org/1999/xhtml">
runat="server">
function Openpop(par) { window.open ("MyPopUpForm.aspx?param="+par,"mywindow","width=350,height=250"); }
type="button" id="btnState" value="State" onclick="Openpop('State');" />
type="button" id="btnCountry" value="Country" onclick="Openpop('Country');" />
MyPopupForm.aspx:
id="form1" runat="server">
Welcome to Pop Up Screen
piya pPosted Apr 24, 2014, 5:16 AM
I need to call aspx page as popup
Munesh SharmaPosted Apr 24, 2014, 5:14 AM
http://www.aspdotnet-suresh.com/2010/08/lightbox-effect-for-login-page-in.html