首先在调用页面注册UserControl

<%@ register tagprefix="sample" tagname="some" src="~/UserControl/ImgToggle/163Switcher/163Switcher.ascx" %>

 

其次,页面上相应位置引入标签即可:

<sample:some id="dd" runat="server"></sample:some>

 

相关文章:

  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
  • 2021-12-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案