[thelist] ASP.NET: How to do paging? (Jason Handby)
Casey
aspnet at thecrookstons.com
Mon Dec 12 11:38:09 CST 2005
Jason,
Hope you are still around and that this will still make sense...
> You could override the page's OnPreRender() function, and call your
> BuildPagingLinks() function from there instead?
>
>
> Protected Overrides Sub OnPreRender(e As EventArgs)
> BuildPagingLinks(ViewState("totalPages"))
>
> MyBase.OnPreRender(e)
> End Sub
This seems to work okay the first time the page is loaded, but not on a page
submit. See online:
http://206.196.8.154/category2.aspx
Casey
More information about the thelist
mailing list