XhtmlControlAdapter.LoadAdapterState(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.
Loads view state data specific to this adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
override void LoadAdapterState(System::Object ^ state);
public override void LoadAdapterState (object state);
override this.LoadAdapterState : obj -> unit
Public Overrides Sub LoadAdapterState (state As Object)
Parameters
- state
- Object
The current view state of the adapter.
Remarks
If state
is null
, this method has no effect.
This method is primarily used by developers of custom adapters.
Notes to Inheritors
The base implementation of LoadAdapterState(Object) loads the current secondary UI mode from view state. You can override it to load other specific data from view state, but be sure to also invoke the base method in order to preserve the secondary UI mode across requests. For more information on managing view state, see ASP.NET State Management Overview.