Run at server side
You can run each control on your asp.net pages at server side.
In this case a little sample with the body tag.
Html:
<body ID=BodyTag runat=server>
Code:
Protected WithEvents BodyTag As System.Web.UI.HtmlControls.HtmlGenericControl
...
BodyTag.Attributes.Add("onLoad", "window.close()")
...
In this sample, your page with automatically close.
- Ken