my boss says dont use view state
What are the problems with viewstate?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
my boss says dont use view state
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Abhishek YadavRank #217 · 11.3K reputationPosted Oct 19, 2022, 12:02 PM EDT
. In some cases, this view state can get large and be a potential source of problems. Some browsers cannot handle such a large hidden field (and the resulting large request), and the browsers may truncate the view state. Truncating the view state causes a view state corrupted error message. This behavior is most likely to occur in simpler browsers. For example, this behavior may occur in a browser on a PDA.
To determine whether you may be running into such an issue, try storing the view state in the session.
Brahma Prakash ShuklaRank #633 · 3.8K reputationPosted Oct 19, 2022, 12:03 PM EDT
Please see this link.
https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/aspnet/health-diagnostic-performance/troubleshooting-view-state-is-invalid-error
I think it will be useful for you.