Wednesday, August 08, 2007

I (L) SPGridView

Currently I'm busy with redeveloping some 'old' 2003 webparts and quite often I used a .NET datagrid to display data. Now with SharePoint 2007 we have to ability to render our data using the SPGridView. Using this control, you don't have to worry about to set CSS classes since it inherits the default SharePoint CSS so that's prety cool.
Another cool thing is that you can sort and filter like you sort and filter in SharePoint lists, although I haven't  got the filtering working, the sorting is quite cool. Even more if you use the AJAX Basewebpart by .. to make it even more sexier ;)

Check out the following links that helped me these last couple of days!

SPGridView thingies:

Filtering with SPGridView by Bob's SharePoint Bonanza

SPGridView and SPMenuField: Displaying custom data through SharePoint lists by Powlo's SharePoint Treats

SPGridView- Adding paging to SharePoint when using custom data sources by Powlo's SharePoint Treats

 

Ajax thingies :

AjaxBasePart- Easy ASP.NET 2.0 AJAX Extensions 1.0 and Office SharePoint Server 2007 by Eric Schoonover

Wait a sec!! by Adam Semel's ASPNET Blog

Using a SPGridView inside an ASP.net Ajax UpdatePanel by Mark Collins

 

Technorati tags: , ,

1 comment:

Anonymous said...

Hey, perhaps this helps even more ... http://www.sharepointblogs.com/xmlsteve/archive/2007/05/31/how-to-render-views-of-lists.aspx

Greetings,
Eric Bartels