How to hide items from context menu of a sharepoint list in SharePoint 2010 without modifying CORE.JS and by using javascript or jquery in CEWP :
Item are as follows :-
Version History
Compliance Details
Manage Permissions
Alert Me
Technology Tips and News
How to hide items from context menu of a sharepoint list in SharePoint 2010 without modifying CORE.JS and by using javascript or jquery in CEWP :
Item are as follows :-
Version History
Compliance Details
Manage Permissions
Alert Me
You can check following links:
http://sharepointism.blogspot.com/2008/05/hiding-context-menu-item-of-document.html
http://msdn.microsoft.com/en-us/library/cc768565%28v=office.12%29.aspx
http://www.codeproject.com/KB/sharepoint/sharepoint-customization.aspx?display=Print
Use Following script :-
<script type="text/javascript">
window.onload = function()
{
AddVersionsMenuItem = function (m,ctx) { }
}</script>
This script is used to hide Default Version History from Context Menu.
to hide another items you need to find that menu item from Core.js by its Name and add it in function as follows:
<script type="text/javascript">
window.onload = function()
{
YourMenuItemName = function (m,ctx) { }
}</script>