Hi there,
Not sure what's going on. This is exactly as it should be; I copied your code in a new web form, and it works right away (as it should).
Maybe you don't have JavaScript enabled? You can check that through Tools Internet Options in IE. The configure the settings for the Zone your test web site is placed in.
Other things to check:
1. Modify the <body> tag like this:
<body onload="alert('Hello World');">
Do you see the alert message appear?
2. Check the final HTML of the page in the browser. Can you post that here? Are the controls like the checkbox converted into HTML like <input type="..." /> ?
Hope this helps,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
Beginning ASP.NET 3.5 : in C# and VB,
ASP.NET 2.0 Instant Results and
Dreamweaver MX 2004
Want to be my colleague? Then check out this post.