Page.ValidateRequestMode Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether the page checks client input from the browser for potentially dangerous values.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

[BrowsableAttribute(false)]
public override ValidateRequestMode ValidateRequestMode { get; set; }

Property Value

Type: System.Web.UI.ValidateRequestMode

A value that indicates whether the page checks client input. The default is Enabled.

The value Inherit is not used in the Page class because there is nothing to inherit from.

.NET Framework
Available since 4.5
Return to top
Show: