Page.ValidateRequestMode Property

Definition

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

C#
[System.ComponentModel.Browsable(false)]
public override System.Web.UI.ValidateRequestMode ValidateRequestMode { get; set; }

Property Value

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

Attributes

Remarks

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

Applies to

제품 버전
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also