I want to either disable the menu of a specific web part on my SP-site, or instead disable the "Edit Web Part" function.

This is not for the whole page, but for that specific web part.

Any suggestions?


2 Answers 2


Is the WebPart a custom WebPart implemented by you? If yes, you could probably override the AllowEdit property and return false.

  • It's an open weather forecast API implemented in a web part. Oct 25, 2011 at 13:47

You can put the Web Part into the page outside any Web Part Zones, which prevents anyone from editing it. You would do this by editing the page in SharePoint Designer.

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.