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


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.

WP Spam Free

Archive for the 'Programming' Category

In Part 2 of this series, we added filtering to our ASPGridView. Since then I’ve gotten a lot of questions about implementing multi-column filtering. Again the main reason seems to be “If SharePoint can do it, why can’t we?”. And that’s exactly the kind of question that gets me going 🙂 I love a good […]

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:

I ran into this cool trick today while I was implementing filtering in a GridView. The challenge was that I had to apply a composite FilterExpression to the GridView from the value of a DropDownList. I started out with the following (simplified) code:

In my previous post I introduced Fluent NHibernate and NHibernate Burrow. If you have been trying the two together, you’ll have noticed that Burrow has been compiled against a lower version (2.0) of NHibernate than Fluent NHibernate has (which uses 2.1).

I haven’t been using it long but I am already a huge fan of Fluent NHibernate. In case you haven’t yet heard about it, Fluent NHibernate allows you to replace those pesky (perfectly functional, but pesky) NHibernate XML mapping files with strong-typed C# code.

Welcome to the third installment of my series on the SPGridView. I had planned to tackle menus and the MenuField control in this installment but I got sidetracked by a very interesting problem posted by Josh as a comment to Part 1 of this series. His problem was that for some reason the RowCommand event […]

Welcome to the second installment of my series on the SPGridView. In Part 1 I introduced the SPGridView, the ObjectDataSource and the SPGridViewPager. The result was a reusable component that supports sorted and paging. In this installment, we will extend the component to support filtering. Filtering is one of the most sought-after features of the […]

For you who did not know yet, the first Beta of Visual Studio 2010 Professional is now available for download. I just set it up on a VPC and I must say, first impressions are good. So I have a soft spot for eyecandy. I think it’s incredibly important that the tool you work with […]