Daily Archives: June 30, 2011

Upgrade your version of WSPBuilder for a more traditional development experience

In many ways a seasoned ASP.Net developer can have a difficult time learning SharePoint 2007 development because they have become accustomed to the practices ascribed to by the Microsoft ASP.Net team. One of these practices is so benign and intuitive, that most developers find it incomprehensible that it is not available when using a WSPBuilder project template. The practice that I am referring to is right clicking your declarative markup and selecting “View Code”. The menu item is not available, because the WSPBuilder Project type is based on the standard C# project type, and does not include the web application project type. Because of this, you cannot add regular web application based items such as web forms and web controls. This has lead many developers, including myself, to develop SharePoint solutions by hand, manually linking our declarative markup and code behind files, all the while not using designers and in some cases intellisense.

Posted in Development, SharePoint 2007 | Tagged , , | 1 Comment

Handy Extension Methods

Extension methods allow adding methods to existing classes without modifying the source of the class. This is useful for extending functionality to Microsoft’s classes or other classes where you do not have access to the source or have the ability to recompile. Here are 3 handy extension methods I’ve found useful in working with strings.

Posted in .Net | Tagged , , , , , | Leave a comment

Creating a Fixed Width SharePoint 2010 Masterpage (Updated)

Many are curious to find out how to style a SharePoint 2010 Masterpage the correct way when going for a fixed width site design. After all, Microsoft hasn’t given us an out of the box example like they did with in MOSS 2007 when they conveniently gave us the bluetabs.master and many of the other fixed width Masterpages.

Posted in CSS, Development, SharePoint 2010 | 10 Comments

Creating a Cross Site Data View in SharePoint Designer 2010

Note: I only used this to display information across sites in the same site collection.

  • Open SharePoint Designer and connect to the site where you want to create your data view
Posted in Uncategorized | Leave a comment