StateBag.IStateManager.LoadViewState(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Restores the previously saved view state of the StateBag object.
virtual void System.Web.UI.IStateManager.LoadViewState(System::Object ^ state) = System::Web::UI::IStateManager::LoadViewState;
void IStateManager.LoadViewState (object state);
abstract member System.Web.UI.IStateManager.LoadViewState : obj -> unit
override this.System.Web.UI.IStateManager.LoadViewState : obj -> unit
Sub LoadViewState (state As Object) Implements IStateManager.LoadViewState
Parameters
Implements
Remarks
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.