Monthly Archives: June 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

Two useful CSS tricks.

I worked on a project where we converted a large publishing site from table based layouts to CSS. The new CSS based layout had to work across all of the different major browsers including the older version of IE.

Posted in CSS, SharePoint 2007 | Leave a comment

Back to the Basics: CSS Styling and HTML Development (Part 3) Div’s and Tables

The third and final part of our Back to the Basics Web Series will focus on understanding Div tags and Table tags. Along with a host of best practices.

Posted in CSS | Leave a comment

Back to the Basics: CSS Styling and HTML Development (Part 2) Cascading Style Sheets

Part 2 of our Back to the Basics Web Series will focus on Cascading Style Sheets, Style Attributes and Style Properties. 

Posted in CSS | Leave a comment

Back to the Basics: CSS Styling and HTML Development (Part 1) HTML

We are introducing a 3 part series for basic CSS styling, design, and rules. This first part will deal with understanding basic html to help get us started.

Posted in CSS | Leave a comment

Redirect an InfoPath form web part after submit

There are probably many cases and scenarios where you want to redirect the users back to the list view or to a different url entirely after they have submitted their form. In my case, I wanted to kick off a workflow as soon as the form was submitted. You can use the following steps to redirect to a different url after the form is submitted.

Posted in Uncategorized | 3 Comments

Restore a Deleted Site Collection in SharePoint 2010 SP1

The recent release of Service Pack 1 for SharePoint 2010 included the Site Recycle Bin for restoring deleted sites. However, what if you deleted a whole Site Collection? Well, Service Pack 1 comes packaged with 3 new PowerShell commands to handle just that:

Posted in Administration | Tagged , | 5 Comments