Recently I have published the extended version of the Content Query Web Part which supports paging the results. As promised I'm going to provide a series of 'How I did it' articles to provide you some more details about my approach. In this article I will focus on getting the paging done inside the Content Query Web Part.
Developing custom Web Parts which leverage the concept of separating the presentation layer from the control provides you and your customer with great flexibility. Web Parts which produce XML output and render it using an XSL stylesheet given by the end user can be easily reused in multiple projects saving you in some cases some time. While working on the Extended Content Query Web Part I took a look at the performance of the XSL transforms and I have found out that there are thing to be considered while using that concept.
We all know the Content Query Web Part shipped with MOSS 2007. It is so far the best content aggregation solution available. While it is extremely flexible and allows you to define your own presentation layer, it lacks some basic aggregation features like results paging and dynamic content filtering. While Andrew Connell has presented recently a nice approach to achieve last one, I have decided to focus on the paging functionality.
Just yesterday I have passed another SharePoint exam: Microsoft Windows SharePoint Services 3.0 Application Development. It is the third SharePoint exam I have passed next to MOSS 2007 Application Development and Configuration.