Rediger

Del via


PageAdapter.ClientState Property

Definition

Gets an encoded string that contains the view and control states data of the Web page to which this derived page adapter is attached.

protected:
 property System::String ^ ClientState { System::String ^ get(); };
protected string ClientState { get; }
member this.ClientState : string
Protected ReadOnly Property ClientState As String

Property Value

An encoded String containing the combined view and control states of the controls on the associated Page.

Remarks

The ClientState property provides access to the internal ClientState property of the Page class.

View state data stored by the PageStatePersister object in the internal ClientState property of Page will always be saved in the hidden field on the Web page.

Notes to Inheritors

When you inherit from the PageAdapter class, you cannot override the ClientState property because it is not virtual. To modify the behavior of ClientState in a derived class, implement a new ClientState property that references the ClientState property of the base class.

Applies to

See also