I'm trying to lock out a web part but only to certain users
I am currently using this code for the web part controls :
<%@ Register TagPrefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls"
Assembly="Microsoft.SharePoint, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
But I am getting this error message:
An error occurred during the processing of . Content controls have to be top-level controls in a content page or a nested master page that references a master page.
View Complete Post