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 03:54 PM

Open a new window on a button click
 
Hi

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


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

Hi Alvin
This can help u out.

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

Abhishek A. Sharma


All times are GMT -4. The time now is 03:46 PM.

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