I have SharePoint error in custom page layout its Only Content controls are allowed directly in a content page that contains Content controls
And I checked this issue in SP logs here
Error=Only Content controls are allowed directly in a content page that contains Content controls.
at System.Web.UI.FileLevelPageControlBuilder.AppendLiteralString(String text)
at System.Web.UI.TemplateParser.ProcessLiteral()
我找到了解决方案,它只是在您的页面布局中将占位符内容标签从<asp:content>
更改为<asp:Content>
并且它会正常工作
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.