سؤال

I want to create a pager in the format

[Prev][1] ... [8 (current)] ... [25(last)] [Next]

The bit I'm having trouble is the first and last links. I've tried using "NextPreviousPagerField" controls and setting ShowFirstPageButton/ShowLastPageButton to true. Unfortunately, when I do this, the first and last links render with text "First" and "Last". What I would like is for them to render as "1" and whatever the final pagenumber is.

How do I create this?

هل كانت مفيدة؟
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top