Hide Link If DataBinder.Eval is null?
<p>I have the following ItemTemplate:</p>

<pre><code>    &lt;ItemTemplate&gt;
                        &lt;asp:Label ID="lblUser" runat="server"
                            Text='&lt;%# DataBinder.Eval(Container.DataItem, "Schedule.Employee.EmployeName") %&gt;'&gt;&lt;/asp:Label&gt;

                                &lt;a href="#scheduleModal" id="scheduleLnk"
                       onclick="&lt;%# "go('scheduleFrame',
'ScheduleFrame.aspx?type=project&amp;id=" + Eval("ProjectID").ToString() + "')" %&gt;"
                           data-toggle="modal"&gt;Unassigned&lt;/a&gt;
                    &lt;/ItemTemplate&gt;
</code></pre>

<p>I have a label and a link that opens a modal.</p>

<p>If: <code>DataBinder.Eval(Container.DataItem, "Schedule.Employee.EmployeName")</code> is null, meaning the project is not scheduled, the lblUser should be hidden and the link should show, otherwise the link should be hidden and lblUser should show.</p>

<p>Is there some way to do this? I'm not sure scheduleLnk has a visible property.</p>
