M
maloney1
I am wondering if there is a way outside of a databound control(ie
GridView, Datalist, etc) to call .Net methods. for instance in the
following example I want make a LinkButton invisible by checking if
the User is authenticated:
<asp:LinkButton
ID="LinkButton1" runat="server"
CssClass="right" PostBackUrl="~/AdminPages/
Management.aspx"
Style="position: static"
Visible='<%#
HttpContext.Current.User.Identity.IsAuthenticated %>'
I am pretty sure you can do this with any ASP.Net Control, but it
doesn't seem to be working.
Thanks
John
GridView, Datalist, etc) to call .Net methods. for instance in the
following example I want make a LinkButton invisible by checking if
the User is authenticated:
<asp:LinkButton
ID="LinkButton1" runat="server"
CssClass="right" PostBackUrl="~/AdminPages/
Management.aspx"
Style="position: static"
Visible='<%#
HttpContext.Current.User.Identity.IsAuthenticated %>'
Management Pages</asp:LinkButton>
I am pretty sure you can do this with any ASP.Net Control, but it
doesn't seem to be working.
Thanks
John