This documentation is archived and is not being maintained.
Page.SavePageStateToPersistenceMedium Method
.NET Framework 1.1
Saves any view-state information for the page.
[Visual Basic] Protected Overridable Sub SavePageStateToPersistenceMedium( _ ByVal viewState As Object _ ) [C#] protected virtual void SavePageStateToPersistenceMedium( object viewState ); [C++] protected: virtual void SavePageStateToPersistenceMedium( Object* viewState ); [JScript] protected function SavePageStateToPersistenceMedium( viewState : Object );
Parameters
- viewState
- An Object in which to store the view-state information.
Remarks
Override this method if you want to save the Page view state in anything other than a hidden field. If you choose to do so, you must also override the Page.LoadPageStateFromPersistenceMedium method.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
Page Class | Page Members | System.Web.UI Namespace | LoadPageStateFromPersistenceMedium
Show: