Hi everybody,
I had a Documnet library, i placed in my page. That is listviewr webpart.
I had different groups with diferent permision levels.
Ex: if i had Admin rights for that site then i want to show all the options in the Edit Control Block of Item.
If had only Contribute permissions for that site, then i dont want to show Delete option in the ECB. I want to hide/delete based on the permission levels.
How to do it with Sharepoint object model or by using sctripting.
How to hide some options in Edit Control Block based on user permissions.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Posted Jan 20, 2012, 4:13 AM EST
http://weblogs.asp.net/jan/archive/2009/09/11/customizing-the-sharepoint-ecb-with-javascript-part-1.aspx
http://weblogs.asp.net/jan/archive/2009/09/11/customizing-the-sharepoint-ecb-with-javascript-part-2.aspx
http://weblogs.asp.net/jan/archive/2009/09/11/customizing-the-sharepoint-ecb-with-javascript-part-3.aspx
http://stackoverflow.com/questions/30397/dynamically-display-edit-control-block-menu-item-in-sharepoint
http://msdn.microsoft.com/en-us/library/aa505327.aspx#wsstipstricks_customizingthecontextmenuofdocumentlibraryitems