Asp.Net - Register your web user controls once and for all in web.config

Post date: Jan 26, 2010 8:45:31 PM

<?xml version="1.0"?><configuration> <system.web> <pages> <controls> <add tagPrefix="uc" src="~/Controls/first.ascx" tagName="one"/> <add tagPrefix="uc" src="~/Controls/second.ascx" tagName="two"/> <add tagPrefix="ThirdParty" assembly="ThirdPartyAssembly"/> </controls> </pages> </system.web></configuration>