ASP.NET Autoloading user controls without web.config -
hi i've got autoloading in asp.net 2.0 (but if it's impossible please show me higher version). in aspx files i've got normal tags
<aaa:bbb id="ccc" runat="server" />
i've in web.config added controls system.web->pages->controls->
<add src="zzz" tagname = "bbb" tagprefix="aaa" />
i not add lines web.config cause i've got lots , lots of user controls specific projects , it's getting messy.
what like? autoloader :) maybe fine tuning of web.config? know web.config parsed classes manage it. can write classes, write web.config file...increasing it's size :(
to knowledge, there no auto loader asp.net template controls. eg: sharepoint has lots of template based controls (ascx), , each 1 has registered individually.
you don't have register every control in web.config though, can register them on page uses them.
Comments
Post a Comment