Hi Rex,
Nope, that's not the case. The ViewState contains a representation of the page when it loaded in the browser and before you many any changes.
Let's assume you have a TextBox called TextBox1 with a Text property of "Imar". When the page first loads, this value is stored in ViewState and displayed in the control.
Then you change it to "Rex" and hit submit.
Both the hidden ViewState field and the TextBox's value are sent to the server. There, ASP.NET "unpacks" the ViewState field and applies it to the existing controls like the TextBox. It then loads data from the regular form fields over the existing data. That's how controls like a TextBox can react to events like TextChanged: they have access to the old and the new value.
So, the ViewState field is left untouched. All other data is sent using "traditional" web form technologies: as post fields.
Hope this helps,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
Beginning ASP.NET 3.5 : in C# and VB,
ASP.NET 2.0 Instant Results and
Dreamweaver MX 2004
Want to be my colleague? Then check out this post.