Tag Archives: ASP.NET

ASP.NET Register User Controls Globally

If you drag a user control onto a web page in design view, Visual Studio automatically adds a Register tag at the top of the page: This is fine if you only have a few controls on a couple of … Continue reading

Posted in Tips and Tricks | Tagged , | Leave a comment

ASP.NET Location Based Authorization

When using ASP.NET forms authentication it is easy to restrict users from accessing pages in certain folders. I usually add a Web.Config file containing the Authorization block to each folder. If we wanted to allow the Admin role in a … Continue reading

Posted in Tips and Tricks | Tagged | Leave a comment