Is there already an acknowledged .NET implementation for a page navigation rendering with skips? E.g.:
1) 12 pages, subset size 6, current page 9 will produce: 1 ... 9 10 11 12 (dots lead to page 4)
2) 5 pages, subset size 3, current page 3 will produce: ... 3 ... (dots lead to 1-2 and 4-5)
3) 14 pages, subset size 8, current page 6 will produce: 1 ... 5 6 8 9 ... 14 (dots lead to 3 and 11)
The result must be an array or list to be used in rendering. The links below do not give the acceptable implementation/unit testing:
Algorithm / pseudo-code to create paging links?
Making First, Last, Next 10, Prev 10 is irrelevant here.
Doing this myself feels like reinventing the bicycle.