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 sharepoint 2010 list, I want to hide the option "add new item" which resides below the list, any suggestions?

share|improve this question
1  
Why do you want to hide it? Is it for security or are the items added elsewhere? –  Dave Wise Jan 31 '12 at 16:19
    
Hi Dave, we dont want users to add items from the link below...but they can add items to the list thru a custom webpart but not thru the link below –  spStacker Jan 31 '12 at 18:52
    
Have you already managed the ribbon buttons? Do you need an answer about how to apply a HideCustomAction feature? –  Alexey Krasheninnikov Jan 31 '12 at 19:40
add comment

3 Answers

up vote 19 down vote accepted

There's an out-of-the-box way to remove the 'Add new item' link. If you edit the webpart properties using the 'Modify Shared Web Part' command, you'll find the 'Toolbar Type' dropdown in the 'List Views' section. If you choose 'No Toolbar' there and save the page, the footer link will be gone. No code required, no unghosting/customization. But you'll have to do this in every view, while the css way proposed by Hameds could be applied globally.

share|improve this answer
    
Perfect thank you. –  David Clarke May 28 '13 at 1:43
add comment

If you just want to hide it, you can use following css (you must override sharepoint core css with your custom css file)

td.ms-addnew{
display:none;
}
share|improve this answer
add comment

If you don't want to make the change globally, you could use a Content Editor Web Part (CEWP) on the desired page. Edit the HTML source of the CEWP and insert Hameds' code inside a style tag:

<style>
    td.ms-addnew { display:none; }
</style>
share|improve this answer
    
how to add multiple add new item with? for ex : if i have two content type it has to show multiple "add new item" –  MarsMan Mar 1 '13 at 7:39
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.