Ken Vleminckx

I love deadlines. I like the whooshing sound they make as they fly by.

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

Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: