Archive for February, 2008

SharePoint Quick Surveys

This article explains how to create a web part which collects SharePoint survey responses and displays graphical results. The webpart can be contained in the side bar of your home page and can display rich graphical results in a variety of formats.

The web part uses the SurveyFieldIterator which is built into SharePoint to display survey questions. These can be displayed in any web part zone. Once a user responds, a web handler (ASHX) generates bar graphs and pie charts of the results using GDI+, although the article also shows how this could easily be changed to use Silverlight for rendering.

The completed project is packaged as a SharePoint feature along with a suitable installer.

17Feb2008 | darren | 58 comments | Continued