The Page.RegisterViewStateHandler method is automatically called through the System.Web.UI.HtmlControls.HtmlForm server control. If this method is not invoked, the page view state will not be persisted.
Typically, only the System.Web.UI.HtmlControls.HtmlForm server control for the page calls this method.