Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System.Web.UI
Page Class
Methods
 SavePageStateToPersistenceMedium Me...
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
Page.SavePageStateToPersistenceMedium Method

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

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker