About



I am an independent .NET and SharePoint Developer living in The Netherlands. My main focus lies with C# and the .NET Framework but I am also a newbie enthusiast in Ruby and Rails.

View Erik Burger's profile on LinkedIn


MCPD: Enterprise Application Developer

MCTS: WSS 3.0 Application Development


Disclaimer



All opinions expressed in this blog are solely those of the author. You may use all the information provided here but please understand that it is provided "AS IS" and comes with no warranty of any kind.


23,205
WP Spam Free

Archive for November, 2009

Previous parts: Part 1: Introducing the SPGridView Part 2: Filtering Intermezzo: TemplateFields and the RowCommand Event In this part of the series we’ll be adding a context menu to our SPGridView using the SPMenuField control. Using the MenuField can be a bit tricky the first time round since there are a lot of properties involved. […]

On my current project I am naturally using Unit Testing as much as possible. The application is an ASP.Net web application so I was limited to testing the business logic only. Or so I thought.

When developing custom WebParts and UserControls for SharePoint you often need to access Lists and their content. There is a number of ways to retrieve a List (or more specifically, a SPList instance). For example, if you know the List’s ID (which is a Guid) you can do the following: