Skip to content

Error When Editing “You Must Specify a Value for this Required Field”

by on March 15, 2012

So far I have only experienced this when editing Content Query Web Parts (CQWP), but it may appear in other instances.

Error

“You must specify a value for this required field”image

Cause

PlaceHolderPageTitleInTitleArea added to a panel set to hidden=”false”

Solution

  1. Remove the placeholder from the hidden panel and put it back in the regular page area (do not change the hidden=”false” on the panel, as it will save resources by not rendering the contents of the panel)
  2. create a class called “hidden” with display:none;
  3. Wrap the placeholder in a div with the class hidden applied like the below

<div class="hidden"><asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" /></div>

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: