S
SAL
Hello,
I have a small Web app that has a couple of pages in it. Both pages have
gridviews on them with basically the same ObjectDataSource. This object data
source is a business class. One of the GridViews allows editing so I enable
ViewState on that one. The other one does not so I disable ViewState on that
one.
The problem is that the one with the ViewState disabled is reporting correct
row numbers while the other one does not.
I can perform the same filtering on the gridview with view state disabled
over and over again and I get the same row count each time. However, I have
to perform the same filtering twice on the one with view state enabled to
get the correct row count (only the 2nd time)...
How can I make the one with view state enabled report the correct row count
each time?
SAL
I have a small Web app that has a couple of pages in it. Both pages have
gridviews on them with basically the same ObjectDataSource. This object data
source is a business class. One of the GridViews allows editing so I enable
ViewState on that one. The other one does not so I disable ViewState on that
one.
The problem is that the one with the ViewState disabled is reporting correct
row numbers while the other one does not.
I can perform the same filtering on the gridview with view state disabled
over and over again and I get the same row count each time. However, I have
to perform the same filtering twice on the one with view state enabled to
get the correct row count (only the 2nd time)...
How can I make the one with view state enabled report the correct row count
each time?
SAL