首页 > 学院 > 开发设计 > 正文

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

2019-11-18 17:08:10
字体:
来源:转载
供稿:网友
今天在网上看到asp.net 2.0中注册自定义控件的好方法,记录如下。
在web.config 文件中全局注册自定义控件
<system.web>
      <pages>
        <controls>
          <add tagPRefix="rx" assembly="HYLQ.Component" namespace="HYLQ.Component"/>
         
        </controls>
       
      </pages>
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表