SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm brand new to Sharepoint. How can I switch off web part's events like click and mouseover over title?

share|improve this question
You can't. Not without setting display:none css property on it's surrounding CSS. – Daniel Ziga Jan 10 '12 at 13:00

You can disable the mouseover and click events using JavaScript (easier with jQuery), which really only just use CSS to change the appearance and show controls (such as a checkbox or the verb menu).

You'd have to load your javascript/jquery via the masterpage somehow, easiest way is to open it in SharePoint Designer and place your jquery code directly in there.

If your environment is customised at all (custom web parts, branding, etc), seek advice from your solution architect first, on the best way to do this.

share|improve this answer

If you wanted to remove the ability to right click throughout the entire page you can add a script to the MasterPage directly or better yet to a User Control loaded into the MasterPage that can supress the click events.

If it was only for specific web parts, then it would need to be built into that particular web part and you would capture the event on that container.

share|improve this answer

Your Answer


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.