wsaharem
asked on
Sharepoint Cannot find ContentPlaceHolder
We had a programmer create a customer master publishing page. We want to change the page back to a default master page, but when we change it in site settings, we get the following error.
Cannot find ContentPlaceHolder 'PlaceHolderRightActions' in the master page '/_catalogs/masterpage/v4_ custom.mas ter', verify content control's ContentPlaceHolderID attribute in the content page.
I've tried a few different master pages and they all return the same error. The only one that does not is the customized master page.
Cannot find ContentPlaceHolder 'PlaceHolderRightActions' in the master page '/_catalogs/masterpage/v4_
I've tried a few different master pages and they all return the same error. The only one that does not is the customized master page.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just removing the tag was not sufficient. I had to put the tag in the new master page, but commented it out. That allowed the new master page to load. Odd, but it worked.
You could always just add that placeholder into your default.master and then just hide it using client side code css. If you hide it using visible="false" or server side code, I find it gives the same error