How to edit ECB menu items in SharePoint 2007 using non-code method & code method?

  • What is the problem and what are you trying to achieve? Commented Sep 12, 2011 at 9:54
  • What I would achieve is that I do not want some end-user to be able to use some of the ECB menu item and therefore I would either hide those menu items or just delete those menu item.
    – Wilson Tan
    Commented Sep 13, 2011 at 2:54

3 Answers 3


There is no non-code method for this.

Jan Tielen’s three-part series is nice resource for adding items on ECB.

However hiding item can be only done by changing core.js and this is something you don't do. Take a look at my answer here: Disable Send To and Download a Copy options for files?

  • Got your point. Is there other solution beside the changing of the core.js? (Maybe using the permission or etc..)
    – Wilson Tan
    Commented Sep 13, 2011 at 2:58

Actually, I found another work around using the SPServices (http://spservices.codeplex.com/).

Rather than allow the user to have direct access to the SharePoint List (and thus having the "power" to use the ECB menu), I will use a aspx file that provide interface with the SharePoint List via SPServices.


This article can also be helpful : http://extreme-sharepoint.com/2011/10/29/hide-menu-ecb/

  • Please don’t add just a link as answer to a question. If the link breaks, the answer you provided will not be useful for future visitors. Provide an answer of your own and use the link as reference. If needed, you can block quote the content from your link. More information is found in our help center, especially How do I write a good answer
    – Benny Skogberg
    Commented Jun 5, 2017 at 9:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.