Tuesday, December 7, 2010

EditModePanel Hiding Content in SharePoint 2010

It appears that the functionality of the EditModePanel has changed subtly in SharePoint 2010.  When using PageDisplayMode="Display", like this:

<PublishingWebControls:EditModePanel runat="server" CssClass="editpanel" PageDisplayMode="Display" ID="editmodepanel1">
lorem ipsum dum dolor
</PublishingWebControls:EditModePanel>

in 2007 the content would show to all  users when the publishing page is in display mode.  In 2010, the content will only show to users that have permission to edit the page.  A subtle change to be aware of.

No comments: