StateBag::IStateManager::LoadViewState Method (Object^)
.NET Framework (current version)
Restores the previously saved view state of the StateBag object.
Assembly: System.Web (in System.Web.dll)
private: virtual void LoadViewState( Object^ state ) sealed = IStateManager::LoadViewState
Parameters
- state
-
Type:
System::Object^
An object that represents the StateBag state to restore.
Implements
IStateManager::LoadViewState(Object^)This method restores view-state information for the StateBag object from a previous page request that was saved by the IStateManager::SaveViewState method.
This method is primarily used by control developers. You can override this method to control how a custom server control restores its view state. For more information, see ASP.NET State Management Overview.
.NET Framework
Available since 1.1
Available since 1.1
IStateManager::LoadViewState
StateBag Class
System.Web.UI Namespace
Show: