Why < is getting converted as &lt; during runtime
<p>I am trying to write an aspx page where I am passing some server side value to the Javascript. The server side tag is changing from <code>&lt;%</code> to <code>&amp;lt;%</code></p>

<pre><code>&lt;asp:TextBox
    ID="txtOriginalNo"
    runat="server"
    onkeyup="javascript:EnterKeyPress(&lt;%=ibtnSubmit.ClientID%&gt;,event);"
    TabIndex="1"
    MaxLength="13"
&gt;&lt;/asp:TextBox&gt;
</code></pre>

<p>This is getting converted during runtime to: </p>

<pre><code>&lt;input
    name="txtOriginalNo"
    type="text"
    maxlength="13"
    id="txtOriginalNo"
    tabindex="1"
    onkeyup="javascript:EnterKeyPress(&amp;lt;%=ibtnSubmit.ClientID%&gt;,event);"
/&gt;
</code></pre>

<p>Can anyone tell me why this is?</p>
