Databind Function to Controls Visible Property Does Not Work
<p>I'm using databinding to set the visible property on a control as such:</p>

<p>Control on Page:</p>

<pre>
&lt;asp:LinkButton ID="ApproveTimeLink" runat="server"  Visible="&lt;%# CanApprove() %&gt;"&gt; Approve Time&lt;/asp:LinkButton&gt;
</pre>

<p>Code on CodeBehind:</p>

<pre>
Protected bool CanApprove()
{
  return false;
}
</pre>

<p>As you can see the control should not show, yet still does. I'm not getting any errors, and I'm baffled as to why this does not work.</p>

<p>Thanks for the help.</p>
