Link (a) in GridView is problematic?
<p>I have an (a) in my grid view and it does not compile:</p>



<pre class="lang-asp prettyprint-override"><code>  &lt;asp:GridView ID="gvProjects" runat="server" OnSorting="gvProjects_Sorting"
            AutoGenerateColumns="False" CssClass="table table-hover table-striped"
            GridLines="None"&gt;
            &lt;Columns&gt;
                &lt;asp:TemplateField HeaderText="Title" SortExpression="ProjectTitle"&gt;
                    &lt;ItemTemplate&gt;
                           &lt;a href="#myModal" id="remove_emp_btn" onclick="go('projectFrame','ProjectViewFrame.aspx?id=&lt;%# Eval("ProjectID") %&gt;')" 
                               runat="server" data-toggle="modal"&gt;'&lt;%# Eval("ProjectTitle") %&gt;'&lt;/a&gt;
                    &lt;/ItemTemplate&gt;
                &lt;/asp:TemplateField&gt;
</code></pre>

<p>Am I forced to use asp controls or is there something wrong with the code?</p>

<p>Thanks</p>

<p>It says the server tag is not well formed.</p>

<p>The problem seems to be:</p>

<pre class="lang-asp prettyprint-override"><code> onclick="go('projectFrame','ProjectViewFrame.aspx?id=&lt;%# Eval("ProjectID") %&gt;')" 
</code></pre>
