iframe error when runat="server"
<p>I have a iframe in one of my web pages with <code>runat="server"</code> and a javascript function assigned to the onload event.<br/> When the page renders it gives an error as <br/>
<code>"CS1012: Too many characters in character literal"</code><br/>
When I remove the runat="server" attribute it works perfectly but I need the iframe to runat="server".<br/> How can I fix this?</p>

<pre><code>&lt;iframe id='contentFrame' name='contentFrame' 
   runat="server" width="500"
   onload="resizeFrame(document.getElementById('contentFrame'))"&gt;
 &lt;/iframe&gt;
</code></pre>
