Search code examples
asp.netsortingpaginationrepeater

ASP.NET Repeater Paging/Sorting


So what's the real story on how to do this. All of the examples I find use Default Paging (HOW does anybody find that acceptable???) but I want to use custom paging. I can't use a GridView because I need more flexibility. The examples I see all use the PagedDataSource class but I can't find one that uses Custom Paging. Am I doomed to have to roll my own paging/sorting solution to avoid the bloatware of the other build-in methods?


Solution

  • A simple repeater used for paging where a few page numbers are rendered horizontally is pretty easy to code up and re-use.