Adding Default Assemblies, Namespaces and Control Prefixes in Web.Config
Posted by: Rick Strahls WebLog,
on 05 May 2009 |
View original | Bookmarked: 0 time(s)
The fact that you can assign namespace and assemblies in your web.config file is one of the most underused features of ASP.NET I think. I was working with a customer today and when I demonstrated an example he noted that I got my custom controls to show up in page markup without having an explicit @Register tag in the page. Usually when you embed a custom control into a page you need to add a @Register tag like so: <%@ Page language="c#" Inherits="Westwind.WebToolkit.MessageDisplay"...