Export (0) Print
Expand All

FormAttribute.ValidateInput Property

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5
© 2015 Microsoft