Set Visible property with server tag in Framework 3.5
The code you posted is not valid syntax for server tags in the ASP.NET 2.0 or ASP.NET 4.0 runtimes. In either version, trying to set the visible property using <%= … %> in a server tag should result in a parser error: Parser Error Message: Cannot create an object of type ‘System.Boolean’ from its string … Read more