ASP.NET code blocks in server tags
<p>Can you not have code blocks in server tags?  For example, I wish to create custom id fields using code blocks. (I know there are other way to do this with repeaters, but in my particular situation I'd like to do things this way if its possible for irrelevant reasons.)</p>

<pre><code>&lt;% foreach(var reference in references) { %&gt;
...
&lt;asp:LinkButton runat="server" ID='lbUpdateEmail_&lt;%=reference.ReferenceId%&gt;' OnClick="lbUpdateEmail_Click" style="float:right;"&gt;Update Email&lt;/asp:LinkButton&gt;
...
&lt;% } %&gt;
</code></pre>
