C
Chris Thompson
I have a page that uses a custom object I wrote to build a table. I also
have a post back to the page to remove items from that table. When the page
loads I can see the viewstate code on the source of the page is about 5
lines. When I post back to remove an item and rebuild the page it works. I
view the source of the page and the viewstate code has doubled in size even
though I have less data for it to hold. On the second post back I get "The
viewstate is invalid for this page and might be corrupted."
I get this error even if I turn off view state for the table that is being
rebuilt. Any thoughts on what is happening? I can provide more detail if
needed. Also, this code is running locally on my PC. There is no issue
with the transfer between webservers.
have a post back to the page to remove items from that table. When the page
loads I can see the viewstate code on the source of the page is about 5
lines. When I post back to remove an item and rebuild the page it works. I
view the source of the page and the viewstate code has doubled in size even
though I have less data for it to hold. On the second post back I get "The
viewstate is invalid for this page and might be corrupted."
I get this error even if I turn off view state for the table that is being
rebuilt. Any thoughts on what is happening? I can provide more detail if
needed. Also, this code is running locally on my PC. There is no issue
with the transfer between webservers.