QueryStringParameter.ValidateInput Property

.NET Framework (current version)
 

Gets or sets whether the value of the query string parameter is being validated or not.

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

public bool ValidateInput { get; set; }

Property Value

Type: System.Boolean

true if the value of the query parameter is being validated; otherwise, false.

If the page property SkipFormActionValidation is set to true, and the ValidateInput property is set to false, the query string parameter will not be validated. However, if the page property SkipFormActionValidation is set to true, and the ValidateInput property is set to true, the query string parameter will be validated. If the page property SkipFormActionValidation is set to false, the query string parameter will be validated regardless of whether the ValidateInput property is set to true or false.

.NET Framework
Available since 4.5
Return to top
Show: