ASP.Net2.0中自定义控件在page中的注册

来源:互联网 发布:let it go原唱 编辑:程序博客网 时间:2024/05/18 06:26
控件的好方法,记录如下。
在web.config 文件中全局注册自定义控件
<system.web>
<pages>
<controls>
<add tagPrefix="rx" assembly="HYLQ.Component" namespace="HYLQ.Component"/>

</controls>

</pages>