
ASP.NET 2.0 adds support for altering the location where ViewState data is stored for your pages. This article looks at how a new class can be created and used to store ViewState information in Session rather than the default hidden field. ASP.NET control developers utilize ViewState and control-state to persist state information between requests from the browser. Typically, this information is carried down to the client as a hidden field in the HTML markup rendered by the page. This page state is then submitted as part of the next form submission back to the server and restored to the control or page. This allows control developers to easil..
|