Hide New Item button from SharePoint 2010 Ribbon

Please add the following CSS style in page head content place holder of corresponding list view using a style tag:
#Ribbon\.ListItem\.New\.NewListItem-Large{Display:none;}
It's pretty easy, find the corresponding control id using developer tool and set it's
display property value to none. In similar way you can hide any action item on the ribbon.

Comments

Popular posts from this blog

Email Validation for SharePoint list column

SP, UDF and VIEW

Create a SharePoint group and add users using JSOm