BaseValidator.IsUnobtrusive Property

.NET Framework (current version)

Gets a value that indicates whether the control generates unobtrusive JavaScript.

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

protected bool IsUnobtrusive { get; }

Property Value

Type: System.Boolean

true if the control generates unobtrusive JavaScript; otherwise, false.

This property returns false if the UnobtrusiveValidationMode property value is None; otherwise this property returns true .

.NET Framework
Available since 4.5
Return to top