HTML Hyperlink tags and word-wrap padding fix

Recently, I noticed when I have the following code, my text wraps and ignores my padding for the second line. <style> .menuItemLvl2 { Padding-left: 24px; } </style> Restructuring & Recapitalization I wanted the hyperlink a tag to wrap and respect the padding. I also had highlighting on the A hyperlink tag for :hover state, so … Read more

SharePoint 2007 Branding links

Real World Branding with SharePoint Server 2007 Publishing Sites http://msdn.microsoft.com/en-us/library/ee354191.aspx Heather’s Base Master Page FilesBase master page files with necessary content placeholders to run a SharePoint site. All branding and added code is stripped out. CSS Reference ChartInformative chart of popular CSS classes and IDs. Design Gotcha ListList of items to watch out for when … Read more

SharePoint XSLT error – Unable to display this Web Part.

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator. This error could be caused by missing double quotes around your HTML markup attributes. For instance, the error below … Read more

SharePoint designer – How to fix XSL Data View error: “Unable to display this Web Part”

I found an interesting thing about the error message I was getting with SharePoint Designer. The error is: “Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as FrontPage. If the problem persists, contact your Web server administrator” I had a complicated … Read more

Visual Studio requires a ScriptManager reference to compile Ajax enabled solution

The Problem Visual Studio requires a ScriptManager to compile a Ajax enabled solution for a SharePoint web part. Visual Studio Error on compile says: Solution.cs: (Build Error) Error    1    The type or namespace name ‘ScriptManager’ could not be found (are you missing a using directive or an assembly reference?)    C:\…\Solution.cs     The Solution: A Reference dll is … Read more

Page Titles disappear after Ajax event

SharePoint page titles when using Ajax may turn to square icons. This is the rendering of the title tag in the masterpage, or where the page title is specified. Put the title tag on one line! That’s it! No need for JavaScript or anything else when using Ajax on a page! Just edit the CORRECT masterpage, (For Publishing Portal, the default is BlueBand.master, for Team and Collaboration sites, it’s Default.master)

SharePoint Designer – CSS Caching issues with Visual Studio Web Part packages

I have recently ran into an issue with SharePoint Designer and modifying a CSS file. The CSS file would not update my changes. I waited a 1/2 a day, checked different browsers, cleared my temp/etc, tried virtual machines that havent seen the website in months. Nothing was reflecting my SharePoint Designer CSS changes. I was … Read more