p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Framework 2.0 (http://p2p.wrox.com/forumdisplay.php?f=141)
-   -   Open a new window on a button click (http://p2p.wrox.com/showthread.php?t=50974)

ag19702004 November 30th, 2006 03:54 PM

Open a new window on a button click

Would appreciate if someone could tell on how to open a new window from button_click event for a windows form application?

abhi.sharma05 January 6th, 2007 12:21 AM

Hi Alvin
This can help u out.

<INPUT type="button" value="New Window!" onClick="window.open('http://www.pageresource.com/jscript/jex5.htm','mywindow','width=400,height=200')">

Abhishek A. Sharma

All times are GMT -4. The time now is 06:11 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.