What happens if ViewState Disabled

I have a great application that just uses a few pages of ViewState.

I want to know what happens if I turn off ViewState in MasterPages and turn it on on pages that really use it.

The content of the ViewState is too large in my application and causes an increase in page size. I want to reduce page size with disabling ViewState, is this a good solution when I reaaly not using ViewState?

And, if I turn off the ViewState, will my application work as well as if the ViewState was turned on?

+3
source share
2 answers

, :

TRULY ViewState

( , , ASP.NET :-).

. , , , .

+11

ViewState , .

+1

Source: https://habr.com/ru/post/1733747/


All Articles