Difference between ViewState ["object"] and Page.Items ["object"]

I would like to know what is the difference between ViewState ["object"] and Page.Items ["object"]?

+4
source share
1 answer

Page.Items used only for the life time of the Asp.net page processing cycle. ViewState , however, is sent back (because it has been written out to the form), so it is updated with every new page.

+11
source

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


All Articles