System.Web.Configuration.PagesSection.MaxPageStateFieldLength Property

Gets or sets the maximum number of characters that a single view-state field can contain.

Syntax

[System.Configuration.ConfigurationProperty("maxPageStateFieldLength", DefaultValue=-1)]
public int MaxPageStateFieldLength { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Page and control view state is stored in hidden view-state fields when the page or control is rendered. If the length of the data stored exceeds the PagesSection.MaxPageStateFieldLength value, then the data is split between multiple view-state fields.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0