Dela via


HtmlHelperValidationExtensions Class

Definition

Validation-related extensions for IHtmlHelper and IHtmlHelper<TModel>.

public ref class HtmlHelperValidationExtensions abstract sealed
public static class HtmlHelperValidationExtensions
type HtmlHelperValidationExtensions = class
Public Module HtmlHelperValidationExtensions
Inheritance
HtmlHelperValidationExtensions

Methods

ValidationMessage(IHtmlHelper, String, Object)

Returns the validation message if an error exists in the ModelStateDictionary object for the specified expression.

ValidationMessage(IHtmlHelper, String, String, Object)

Returns the validation message if an error exists in the ModelStateDictionary object for the specified expression.

ValidationMessage(IHtmlHelper, String, String, String)

Returns the validation message if an error exists in the ModelStateDictionary object for the specified expression.

ValidationMessage(IHtmlHelper, String, String)

Returns the validation message if an error exists in the ModelStateDictionary object for the specified expression.

ValidationMessage(IHtmlHelper, String)

Returns the validation message if an error exists in the ModelStateDictionary object for the specified expression.

ValidationMessageFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, Object)

Returns the validation message if an error exists in the ModelStateDictionary object for the specified expression.

ValidationMessageFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, String)

Returns the validation message if an error exists in the ModelStateDictionary object for the specified expression.

ValidationMessageFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String)

Returns the validation message if an error exists in the ModelStateDictionary object for the specified expression.

ValidationMessageFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>)

Returns the validation message if an error exists in the ModelStateDictionary object for the specified expression.

ValidationSummary(IHtmlHelper, Boolean, String, Object)

Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object.

ValidationSummary(IHtmlHelper, Boolean, String, String)

Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object.

ValidationSummary(IHtmlHelper, Boolean, String)

Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object.

ValidationSummary(IHtmlHelper, Boolean)

Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object.

ValidationSummary(IHtmlHelper, String, Object, String)

Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object.

ValidationSummary(IHtmlHelper, String, Object)

Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object.

ValidationSummary(IHtmlHelper, String, String)

Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object.

ValidationSummary(IHtmlHelper, String)

Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object.

ValidationSummary(IHtmlHelper)

Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object.

Applies to