Click here to Skip to main content
15,884,996 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear sir,
I need a pop up window example with ASP.net design code also.
Posted

Google is your friend.
Check these out:

ASP.NET Popup Control[^]

Pop-up window in asp.net[^]

hope it helps :)
 
Share this answer
 
Comments
Pravin Patil, Mumbai 13-Oct-11 4:51am    
Nice links... My 5.
Uday P.Singh 13-Oct-11 6:05am    
thanks :)
For pop up using Window.Open method you can find some good resources at :
1. http://www.tizag.com/javascriptT/javascriptpopups.php[^]
2. http://www.javascript-coder.com/window-popup/javascript-window-open.phtml[^]

You can also generate the code for your pop up depending on the requirements using some online Pop up Generators :
1. http://javascript.internet.com/generators/popup-window.html[^]
2. http://www.javascriptkit.com/popwin/index.shtml[^]

For some customised pop ups which provide more functionality you can refer to
1. Leightbox[^]
2. Lighbox[^]
3. Greybox[^]

These links explain the use of customised pop ups with example.

Hope this helps.
All the best.
 
Share this answer
 
Here you go: ASP.NET Popup Control[^]
 
Share this answer
 
 
Share this answer
 
C#
<script type="text/javascript">
function viewblogs(url)
    {
    
var popupStyle = "dialogheight=300px;dialogwidth=450px;dialogleft:200px;dialogtop:200px;status:no;help:no;";
var var1 = window.showModalDialog(url,this, '', popupStyle);

    }
</script>



call this in code behind

XML
string pageurl = "ViewBlogs.aspx";
Page.ClientScript.RegisterStartupScript(this.GetType(), "aa", "<script language='javascript'>viewblogs('" + pageurl + "');</script>");




still have any doubt reply me
 
Share this answer
 

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