Blocks of Pages (pagination)
My brain just can't cope! :)
So I have a repeater which binds page numbers. That's all fine.
I need to know how to make the paging so that they are in "chunks" of a max of 10 page numbers being displayed at a time.
Then if they select a page number, it will show the previous x pages and the next y pages (within the 10 chunk range).
similar to google paging I guess.
Not using pagedDataSource/gridview/gridlist please! This is just purely getting the page numbers.
So yes, if it helps - it is pretty much the same/similar to google paging behavior.
Re: Blocks of Pages (pagination)
I would go with a pager control.There is a datapager control in asp.net haven't used it don't have an opinion.You could either get a free pager control or have a look at this:
http://msdn.microsoft.com/en-us/library/ms972960.aspx