Click here to Skip to main content
15,850,360 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
I want to open a Pop-up window in my asp.net application to get some information from user before redirect in new form. How I can do it. Please Tell me.
Posted

 
Share this answer
 
Use This Code:
And You Able To show Any variable Or Session In alart Box::
I take variable name as variable:

Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert(" + Variable.ToString() + ");", true);

Or
int i = 10;
Response.Write("<script>alert('"+i.ToString()+"');</script>");



Or


And the Second way Show Pop Up on Same Page Than Use Modal Pop Up Extender, Which Is Asp.net Toolkit Option
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900