Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a list with a display form for which I have specified a different rendering WebPart: DataFormWebPart as opposed to the default ListFormWebPart.

This caused some issues with the Ribbon. I managed to figure out what was going on but now I have another issue which can be seen in the images of that post.

I have a Page tab in the display form. All other display forms don't have it. There is just a View tab.

It's possible that again the ListFormWebPart is doing something different and removes the Page tab, but I just want to be sure (so as to not head on a wrong path and tear the ListFormWebPart apart to see what's going on for nothing).

Is the Page tab controlled by certain WebParts? Or another way of putting it: in what conditions does the Page tab appear on a form?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Couldn't figure out if the WebPart is doing something, but I managed to remove the tab with currentRibbon.TrimById("Ribbon.WebPartPage") just like in the other question of mine.

share|improve this answer
add comment

Your Answer

 
discard

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.