Search code examples
c#viewstateeventvalidation

When 'ViewState' of a form is changed?


There are to hidden fields on every standard ASP.NET form: __VIEWSTATE and __EVENTVALIDATION. When the value for these fields would change for a specific form ?


Solution

  • They change whenever any property/attribute of any page's control whose ViewState is set to True gets modified. (EventValidation would change whenever any control's 'value' changes)