Groups | Blog | Home
all groups > dotnet datatools > june 2005 >

dotnet datatools : DataGrid Paging doesn't seem to work


Ashhad Syed
6/2/2005 4:35:08 PM
I am binding results of a query to the DataGrid control. I have limited space
on the page there I have set 'Allow Paging' property to True and PageSize =
10. WHen results are more than 10 records, I see links for additional pages
at the bottom of the grid but clicking on those links does not take me to
those pages. The grid is stuck on the first page.

societopia.net
6/6/2005 6:40:02 PM
You need to capture the PageIndexChanged event. I have 2 samples on my
website that might help you:

http://localhost/Samples/Samples/WebForm2.aspx
http://www.webswapp.com/webswapp.aspx?i=11

[quoted text, click to view]
AddThis Social Bookmark Button