c#用户控件实战03_在主页面应用自定义的用户控件

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/msh2016/article/details/85419522

在主页面注册,

<%@ Register TagName="SharePoint" TagPrefix="EIP" Src="~/Modules/SystemControls/SharePoint/SharePointControl.ascx" %>

如下图

调用方法,如下

  <EIP:SharePoint ID="SharePoint1" runat="server" />

如下图中,中间区域的左,中,右 全为用户自定义的控件组成

运行的效果,如下:

猜你喜欢

转载自blog.csdn.net/msh2016/article/details/85419522