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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour