Paging for an Asp .NET Repeater
My take on a custom paging control
12 November 2008
Download Control
There are plenty of custom pagers available on the web, but I never felt any of them were quite what I wanted.
This is what I was looking for:
- Clean, valid html (no tables), with enough hooks to style the control however I pleased
- Ability to include the page number in the querystring, so users can bookmark the page
- Alternative mode that uses postback, so that other form data is retained when paging through records
- Independence from repeaters, data grids, grid views, trees, data sources etc. I want to be able to add the paging
control to anything I want.
Download
Current release (v0.5)
The current release is written for C# 3.0. Let me know and I will put together a C# 2 version if anyone wants.
Documentation
More extensive documentation will be provided if this control generates interest. Until then, check out
the demonstration and usage examples.