[英]How to edit content of aspx SharePoint page programmatically?
There are so many page layouts with same content inside. 里面有太多内容相同的页面布局。 I need to remove some of the content from these pages through c#.
我需要通过c#从这些页面中删除一些内容。 For example page layouts contain:
例如页面布局包含:
<%@ Register tagprefix="xyz" namespace="abcd" assembly =abcd, version= 16.0.0.0, publickeytoken =713567888>
I need to remove this content from all the page layouts. 我需要从所有页面布局中删除此内容。 Manually editing each and every page layout is very difficult.
手动编辑每个页面布局非常困难。 As I am not a techie , could you please help me here?
由于我不是技术人员,请在这里帮助我吗?
I think you are trying to edit the Master Pages of the SharePoint sites. 我认为您正在尝试编辑SharePoint网站的母版页。 You can view the Master Page from
您可以从以下位置查看母版页
http://Sharepoint_Site_Name/_layouts/15/DesignMasterPages.aspx HTTP://Sharepoint_Site_Name/_layouts/15/DesignMasterPages.aspx
You can also view them from the SharePoint Designer by opening a site and opening the "Master Pages" menu from the left hand side. 您还可以通过以下方式从SharePoint Designer中查看它们:打开网站,然后从左侧打开“母版页”菜单。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.