Hello,
If I wanted to use a method and return a value to use as a property value to a control like this.
Will this work? And why doesn't this work
Can you explain what happens between # and = and the difference.
Thanks
If I wanted to use a method and return a value to use as a property value to a control like this.
Code:
<asp:Label ID="test" runat="server" Visible='<%#IsVisible()%'></asp:Label>
Code:
<asp:Label ID="test" runat="server" Visible='<%=IsVisible()%'></asp:Label>
Thanks
Comment