p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   .NET Framework 2.0 (http://p2p.wrox.com/net-framework-2-0-141/)
-   -   Open a new window on a button click (http://p2p.wrox.com/net-framework-2-0/50974-open-new-window-button-click.html)

ag19702004 November 30th, 2006 02: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 5th, 2007 11:21 PM

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 07:29 PM.

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