aspx visible property
<p>I am doing below code, but i am still able to view that tr, it is not becoming invisible. I aslo tried using as property....Please help....</p>

<pre><code>public bool ControlEnabled() {return false; }

&lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"&gt;

 &lt;asp:MultiView ID="mv" runat="server"&gt;
 &lt;asp:View ID="view1" runat="server"&gt;
 &lt;table class="homediv"&gt;
&lt;tr id="RAggMkttr" runat="server" Visible='&lt;%# ControlEnabled() %&gt;' &gt;
  ---
public bool Test { get { return true; } }

&lt;tr id="RAggMkttr" runat="server" Visible='&lt;%# Test %&gt;' &gt;
</code></pre>
