What's the difference between:
It's in the properties of asp.net controls.
Thanks for the explanation.
EDIT
ViewStateMode
EnableViewState
See: Minimizing viewstate- confused by `EnableViewState` and `ViewStateMode` in asp.net 4.0
ORIGINAL
Understanding ASP.NET View State
Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. Control.EnableViewState Property
You can use the ViewStateMode property to enable view state for an individual control even if view state is disabled for the page. For more information about view state and control state, see the EnableViewState property. Control.ViewStateMode Property
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With