Posted By

rumremix on 03/16/11


Tagged

edit panel mode sharepoint


Versions (?)

SharePoint Edit Mode Panel


 / Published in: C#
 

You need to register this at the top of the page (see code below). Remember you can do this on a layout page as well, instead of the master page.

Then place the PublishingWebControls:EditModePane tag inline (see below). The ID can be anything you want, just make sure not to duplicate it on a layout and master page.

  1. <%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  2.  
  3.  
  4. <PublishingWebControls:EditModePanel ID="EditModePanelMaster" runat="server">
  5. EDIT CONTENT HERE
  6. </PublishingWebControls:EditModePanel>

Report this snippet  

You need to login to post a comment.