Hi Tom
> Do I need to move the <form> to just after the <body> and the </form> to
> just before the </body>?
Yes, as the autogenerated Site looks like in Visual Studio.
The whole Event System with the serverside controls build on the form
and needs them around.
[...]
<body>
<form....>
[All other Content goes here]
</form>
</body>
[...]

Signature
Gruss, Peter Bucher
Microsoft MVP - Visual Developer ASP / ASP.NET, Switzerland
http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community
http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET
tshad - 30 Jul 2007 22:34 GMT
That was what I figured,
Thanks,
Tom
> Hi Tom
>
[quoted text clipped - 11 lines]
> </body>
> [...]
Yes, you should adjust the form tags as you specified.
It's ok that a lot of other stuff will be in the form tags. If these
elements are not marked as runat="server" then they will have no effect on
performance.

Signature
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
>I have pages that are identical except for the middle of the page to the
>right where I do all my work.
[quoted text clipped - 39 lines]
>
> Tom
tshad - 30 Jul 2007 22:37 GMT
> Yes, you should adjust the form tags as you specified.
> It's ok that a lot of other stuff will be in the form tags. If these
> elements are not marked as runat="server" then they will have no effect on
> performance.
That makes sense.
I was always used to building my look and feel first and then started
putting my <form> tag around the area where my asp objects were which as
usually a cell in a table.
If there is no drawback that putting the form right after the body makes
more sense as it doesn't matter where on the page that I put some object
that may be outside of my normal work area.
Thanks,
Tom
>>I have pages that are identical except for the middle of the page to the
>>right where I do all my work.
[quoted text clipped - 39 lines]
>>
>> Tom