July 10, 2012

Enabling Edit Tab Ribbon Controls for Custom List Display forms in SharePoint 2010

We have a custom list definition with custom list display forms (i.e. DispForm.aspx, EditForm.aspx, and NewForm.aspx), after publishing the list definition and creating an instance of that list,

Error

we have noticed that the Ribbon controls on the “Edit” tab are disabled:image

Solution

After some research, the solution was to add the following control into your display forms:

<SharePoint:FormToolBar runat="server"/>


It should be placed as a child of any <contenttemplate> you have on the page. That’s it! your controls should be activated now:


image

1 comment:

  1. Thank you, it is also working for SharePoint 2013.
    You saved me so many time you should have more recognition for this post :)

    ReplyDelete