I am using paging in webdatagrid. pagertemplate is showing all pages with numbers by default. suppose that i have 20 pages to show ; it is showing all numbers from 1 to 20..
My question is; is there a way to show page numbers like in regular asp.net grid.
like 1,2,3,4,5,6,7,8,9,10 ...
(dots at the end when we click it which loads next 10 page)
... 11,12,13,14,15,16,17,18,19
(dots loads previous 10 pages) and also how to display First, Prev, Next, Last along with numeric pager with the above requirement of not showing all page numbers at once?
Thanks
Hello,
Please refer this article Control How Many Pages are Required for the Pager to Appear.
Hope this helps.
Hi,
I am using WebDataGrid. MinimumPagesForDisplay property is not available for WedataGrid, then how to show few page numbers instead of all available page numbers?
And also I set the PageSize to 10, when WebDataGrid contains records < 11 then How to hide the paging? .Net grid don't display page numbers when total number of rows in grid is less than page size? How to do same with Infragistics webdatagrid?