body runat="server" causing compilation error
<p>In a Master Page I have the following markup</p>

<pre><code>&lt;body id="body" runat="server"&gt;
</code></pre>

<p>I have set <code>runat="server"</code> because I need to be able to access the body element in code-behind.</p>

<p>I would now like to add a JavaScript function call to the <code>body onload</code> event, like this:</p>

<pre><code>&lt;body id="body" runat="server" onload="someJavaScriptFunction();"&gt;
</code></pre>

<p>However, this is giving my a compile error, with a message of "Cannot resolve symbol someJavaScriptFunction();". If I run the application I get an error telling me</p>

<pre>Compiler Error Message: CS1026: ) expected</pre>

<p>What is going on here? <code>onload</code> is a client-side event, so why does the ASP.NET compiler care about this?</p>
