My <% %> not working in div. Why?
<p>I've tried both snippets below. Nothing. I've tried &lt;%#, &lt;%=, and &lt;%. Nothing. So I'm stuck. </p>

<pre><code>&lt;div style="background-color:Gray; color:white; text-align:center; width:100%;"&gt;
            &lt;asp:HyperLink ID="HyperLink1" Target="_blank"  NavigateUrl='&lt;%= Server.HtmlEncode(String.Format("~/ShowHistory.aspx?section={0}&amp;jobnumber={1}", "APQP Header", "101244")) %&gt;' runat="server"&gt;Show Updated History&lt;/asp:HyperLink&gt;&amp;nbsp;&amp;nbsp;
            &lt;asp:HyperLink Target="_blank" NavigateUrl="~/ShowDeletedHistory.aspx" ID="HyperLink2" runat="server"&gt;Show Deleted History&lt;/asp:HyperLink&gt;&lt;/div&gt;
        &lt;br /&gt;

&lt;div style="background-color:Gray; color:white; text-align:center; width:100%;"&gt;
            &lt;asp:HyperLink ID="HyperLink1" Target="_blank"  NavigateUrl='&lt;%= String.Format("~/ShowHistory.aspx?section={0}&amp;jobnumber={1}", "APQP Header", "101244") %&gt;' runat="server"&gt;Show Updated History&lt;/asp:HyperLink&gt;&amp;nbsp;&amp;nbsp;
            &lt;asp:HyperLink Target="_blank" NavigateUrl="~/ShowDeletedHistory.aspx" ID="HyperLink2" runat="server"&gt;Show Deleted History&lt;/asp:HyperLink&gt;&lt;/div&gt;
        &lt;br /&gt;
</code></pre>
