How to resolve: Eval function does not work in master page, visible='<%# Eval(…) %>’
If you want to set the visibility of a control based on some C# code like User.IsInRole("Administrator") directly in your *.aspx page, you can use the data binding syntax <%# … %> in the ASP