Category Archives: Branding

How to add new SPNavigationNode to Quick Link as type Link and not Heading

In SharePoint 2010, if you add a new SPNavigationNode as a child to a Heading link, then the type of the new link will automatically be Link: If you however add it as a root level node, then the type … Continue reading

Posted in Branding, SharePoint 2010 | Leave a comment

Custom PortalSiteMapDataSource to display full site structure in left navigation in SharePoint

I had a requirement to ensure that all sites within the site collection would display the full site structure (up to the 1st level sub-site) on the left navigation. Given the site structure below for example: For any site underneath … Continue reading

Posted in Branding, SharePoint 2010, Uncategorized | 1 Comment

Gotcha when working with master pages and page layouts in SharePoint Designer and Visual Studio

A common thing to do when editing master pages and page layouts in SharePoint is to edit them in SPD and then copy the source code to Visual Studio for check-in to source control. There is a gotcha here. When … Continue reading

Posted in Branding, SharePoint 2010, SharePoint Designer | Leave a comment

Weird rendering behaviour in SharePoint with self-closing DIV tags

I was doing branding in SharePoint 2010 and noticed that SharePoint will render elements declared after a self-closing DIV as children of that DIV. So, if my master page has something like this: The page will be rendered as: Changing … Continue reading

Posted in Branding, SharePoint | Leave a comment