Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
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 21-Nov-12 14:20pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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
  Permalink  
v3

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

  Print Answers RSS
0 OriginalGriff 6,034
1 Sergey Alexandrovich Kryukov 4,838
2 Peter Leow 3,129
3 Maciej Los 3,079
4 DamithSL 2,465


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 22 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100