G Guest Aug 22, 2005 #1 Hi, How can you open an html page in another window once a button clicked in C#. Thanks,
S Stefan Aug 22, 2005 #2 You'll need to add the javascript call as an onclick attribute of your button in your codebehind: this.buttonOk.Attributes.Add("onClick", "yourjavascript"); The javascript should somehow look like : window.open("Page.html"); see: http://www.javascripter.net/faq/openinga.htm http://builder.com.com/5100-6371_14-5031730-2.html
You'll need to add the javascript call as an onclick attribute of your button in your codebehind: this.buttonOk.Attributes.Add("onClick", "yourjavascript"); The javascript should somehow look like : window.open("Page.html"); see: http://www.javascripter.net/faq/openinga.htm http://builder.com.com/5100-6371_14-5031730-2.html