Skip to main content

Cloud

SharePoint 2010 Usability: SharePoint Master Pages/Page Layouts and the Web Part Tool Pane

A couple of months ago, I was implementing a master page in SharePoint 2010, and I ran into something strange. On every page that was using the new master page, whenever I’d try to edit a web part, the Tool Pane was nowhere to be found. It turns out that the Web Part Tool Pane is put into a div with the ID “MSO_Content”. If that div is not there, the C# that runs on the server to populate the Tool Pane simply fails silently.
This is especially problematic when building a Master Page from the ground up or heavily modifying a Master Page with a Page Layout. This div not appearing tends to make web parts unusable. Fortunately, this div doesn’t need to have anything in it, nor does it need a class associated with it for styling purposes. When it’s populated, SharePoint will magically apply all the content and styles you need. SharePoint 2007 does not have this issue because it uses tables for its layouts, but SharePoint 2010 does not.
The reason I’m writing this is because I didn’t find it anywhere else on the internet in the hours I spent searching across Google and Bing. So simply, be sure that you’ve added a div with the ID “MSO_Content”, and you should be good to go.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Andrew Schwenker

Andrew Schwenker is a Sr. Technical Consultant within Perficient’s Microsoft National Business Unit East's SharePoint practice. Andrew has nearly 2 years of experience in consulting and has participated in projects that have touched nearly every aspect of SharePoint 2010. Andrew earned his Bachelor’s degree in Computer Science as well as Master’s degrees in Computer Science and Information Systems from Indiana University. He’s interested in creating winning solutions to generate business innovation using SharePoint. Prior to starting at Perficient, Andrew completed internships with General Electric, ExactTarget, and Great American Financial Resources. During his studies, he actively participated in Alpha Phi Omega National Service Fraternity and competed in the first annual Cluster Challenge at SC07 in Reno, NV. Andrew was a part of the dynamic PointBridge team that was acquired by Perficient.

More from this Author

Follow Us