Paging display on GridView with a large number of rows

For tables with large number of rows, it is difficult to access the rows
with high page number due to high volume of data. Currently the user is
required to click the "..." link many times to get to each successive table.
Instead of only display few page index, is it possible to make GridView
display all page index?

Thanks

zlf
zlf [ Mi, 02 April 2008 16:05 ] [ ID #1933661 ]

Re: Paging display on GridView with a large number of rows

On Apr 2, 10:05 am, "zlf" <zl... [at] hotmail.com> wrote:
> Instead of only display few page index, is it possible to make GridView
> display all page index?
>
> Thanks
>
> zlf

You want the PageButtonCount property of the PagerSettings tag. For
example:

<asp:GridView ID="..." [...]>
<PagerSettings Position="TopAndBottom" PageButtonCount="35" />
<Columns>
[...]
Mick Wilson [ Mi, 02 April 2008 16:29 ] [ ID #1933663 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Paging display on GridView with a large number of rows

Vorheriges Thema: Hiding a field in a repeater
Nächstes Thema: Too many rows in a gridview?