This topic has not yet been rated - Rate this topic

HtmlHelper.ValidationInputCssClassName Property

Gets or sets the name of the CSS class that is associated with field validation error messages.

Namespace:  System.Web.WebPages.Html
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)
public static string ValidationInputCssClassName { get; set; }

Property Value

Type: System.String
The name of the CSS class that is associated with field validation errors. The default is field-validation-error.
ExceptionCondition
ArgumentNullException

value is null.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.