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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 24, 2014, 1:14 AM EDT
http://www.aspdotnet-suresh.com/2010/08/lightbox-effect-for-login-page-in.html
piya p79 reputationPosted Apr 24, 2014, 1:16 AM EDT
I need to call aspx page as popup
Nimit JoshiRank #75 · 24.7K reputationPosted Apr 24, 2014, 1:47 AM EDT
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
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 24, 2014, 2:15 AM EDT
Hi,
Try this
strScript =
"");