Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
PageAdapter Class
 ClientState Property

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
PageAdapter..::.ClientState Property

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

Namespace:  System.Web.UI.Adapters
Assembly:  System.Web (in System.Web.dll)
Visual Basic (Declaration)
Protected ReadOnly Property ClientState As String
Visual Basic (Usage)
Dim value As String

value = Me.ClientState
C#
protected string ClientState { get; }
Visual C++
protected:
property String^ ClientState {
    String^ get ();
}
JScript
protected function get ClientState () : String

Property Value

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

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker