|
Forums » .NET » ASP.NET »
|
I want to create a popup window in a webform for button click event. please give hint to right code |
Posted Date: 23 Jul 2006 Posted By:: Vikas Yadav Member Level: Silver Member Rank: 0 Points: 2
Responses:
3
|
I want to create a popup window in a webform for button click event please help me
|
Responses
|
#64283 Author: Pankaj Mishra Member Level: Gold Member Rank: 50 Date: 24/Jul/2006 Rating:  Points: 2 | HI, Use javascript window.open("mypage.htm");
Regards Pankaj
Regards, Pankaj MyBlog
| #64315 Author: Rajikiran Member Level: Gold Member Rank: 0 Date: 24/Jul/2006 Rating:  Points: 2 | u can also use
Response.write(<script>alert (Confirm me?,Confirm)</script>)
u will get alert box,change ur message box as necessary...
rajikiran...
| #196574 Author: narmada reddy Member Level: Silver Member Rank: 0 Date: 29/Feb/2008 Rating:  Points: 2 | hai
<Script Language="JavaScript"> function open_win() { testwindow= window.open('http://www.domain.com','','scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,location=no,status=no'); } </Script>
<asp:button id="btn" text="name" runat="server" onclick="open_win("Default.aspx")">
|
|
| Post Reply |
|
|
|
 | | This thread is locked for new responses. Please post your comments and questions as a separate thread. If required, refer to the URL of this page in your new post. |
|
|
|
|
 Follow us on Twitter: https://twitter.com/dotnetspider
|
|