今天在网上看到ASP.Net 2.0中注册自定义控件的好方法,记录如下。
在web.config 文件中全局注册自定义控件
\n
<system.web>
<pages>
<controls>
<add tagPrefix=”rx” assembly=”HYLQ.Component” namespace=”HYLQ.Component”/>
</controls>
</pages>
来源:网络
\n