Wednesday, March 26, 2008

Opening a new window in ASP.NET

The following simple HTML code can be used to open a new windows:

<form id="Form1">
<INPUT Type="button" OnClick="'')" value="enter">

If server side control is a must, do the following at the page load:

button1.Attributes.Add("onclick", "'')");

1 comment:

kenzie jones said...

Thanks for the simple HTML code for opening a new window.The other one code also help in opening the window.If you have other information then please share it.
digital signature software