Mohamad Halabi has written a very detailed article about ViewState and the page life cycle. If you're not completely sure exactly how ViewState and state tracking in ASP.NET works, I highly recommend reading his article (if you're new to ViewState, you probably need to read it more than once! :-)
The article can be found here.