FormAttribute.ValidateInput Property

.NET Framework (current version)

Gets or sets a value that indicates whether the form data is validated.

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

public bool ValidateInput { get; set; }

Property Value

Type: System.Boolean

true if the form data is validated; otherwise, false.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

.NET Framework
Available since 4.5
Return to top