SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Microsoft.SharePoint.WebPartPages.WebPartZone declared on an application page:

<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<WebPartPages:WebPartZone ID="Foo" runat="server" DisplayTitle="Bar">

Visual Studio 2010 displays the following warning "Message" in the Error List window:

Validation (ASP.Net): Attribute 'DisplayTitle' is not a valid attribute of element 'WebPartZone'.

Even though it is: WebPartZone.DisplayTitle Property

Has anyone ever had to fix this? There's one of these messages for every page in my project (but only when I have the markup open)...

share|improve this question
up vote 1 down vote accepted

As you can see on your link, DisplayTitle is Read-only, (get only).

Use HeaderText to change the title

share|improve this answer
HeaderText, but you're right... and that was dumb... thanks! – RJ Cuthbertson Jun 25 '13 at 14:03
Fixed the typo! – Robert Lindgren Jun 25 '13 at 14:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.