Export (0) Print
Expand All

Page.LoadPageStateFromPersistenceMedium Method

Loads any saved view-state information to the Page object. Override this method if you want to load the Page view-state information in anything other than a hidden field.

[Visual Basic]
Protected Overridable Function LoadPageStateFromPersistenceMedium() _
   As Object
protected virtual object LoadPageStateFromPersistenceMedium();
protected: virtual Object* LoadPageStateFromPersistenceMedium();
protected function LoadPageStateFromPersistenceMedium() : Object;

Return Value

The saved view state.


If you want to specify something other than hidden fields to save view state when using this method, you must also override the SaveStateToPersistenceMedium method.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

Page Class | Page Members | System.Web.UI Namespace

© 2015 Microsoft