Home All Groups Group Topic Archive Search About
Author
7 Apr 2006 11:33 PM
David D.
I have a user that would like a "NumericNextPreviousFirstLast" type of paging
mode on the GridView.  That's not on option out of the box.  Is it doable
without a lot of effort?

Thanks,  David

Author
8 Apr 2006 5:38 PM
Teemu Keiski
Hi,

yes it is. Just specify your own PagerTemplate with buttons (or custom
controls supporting command event bubbling)  having the needed command names
(CommandName="argument").

See:
http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.gridview.pagertemplate(VS.80).aspx

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke


Show quoteHide quote
"David D." <Dav***@discussions.microsoft.com> wrote in message
news:CA4BD251-59DC-4CC0-96D5-70C5AECF7964@microsoft.com...
>I have a user that would like a "NumericNextPreviousFirstLast" type of
>paging
> mode on the GridView.  That's not on option out of the box.  Is it doable
> without a lot of effort?
>
> Thanks,  David