Strange Data grid paging behavior

VBAHole22

Contributor
Joined
Oct 21, 2003
Messages
432
Location
VA
I have a data grid that I am filling with a dataset from Access. I added some custom paging and it appears to work, but only for the first paging event. I have a breakpoint on the Grid_Paging event and it fires the first time I try to page but every subsequent time it doesn't even fire anymore. This is so strange. What could be causing it.
The first time I get a successful page after that it just freezes on the same page even though it is posting back.
 
Is the grid filled in the page load only on not postback and is the grid filled again in the page index change event. If so, then let's see your code.
 
I made sure on both of those points.

What i did was create a new page and copy the grid and the code in and Voila! now it works.

I have no clue why it wasn't working before, but I'm happy it works now.

Thanks
 
Back
Top