Sitecore 5.1.1 API

State.Form Property

Gets or sets the current form collection from web page.

[Visual Basic]
Public Shared Property Form As NameValueCollection
[C#]
public static System.Collections.Specialized.NameValueCollection Form {get; set;}

Property Value

The form collection from the current web page.

Remarks

The Sitecore request handler (HttpModule) overrides the current form collection in order to find the correct layout for the page. The normal form collection (Form) is therefore not valid. However Sitecore stores the original form collection in this variable before overwriting it.

See Also

State Class | Sitecore.Configuration Namespace | QueryString