WebPartManager.LoadControlState(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 control state data that was saved from a previous page request, and needs to be restored on a subsequent request.
protected public:
override void LoadControlState(System::Object ^ savedState);
protected internal override void LoadControlState (object savedState);
override this.LoadControlState : obj -> unit
Protected Friend Overrides Sub LoadControlState (savedState As Object)
Parameters
- savedState
- Object
Contains the persisted state data to be loaded.
Exceptions
savedState
is not a valid ControlState.
Remarks
The LoadControlState method is helpful for restoring property data that should be persisted across postbacks of a page, even when the EnableViewState property is set to false
.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om