HtmlHelper.ValidationSummary Method
Include Protected Members
Include Inherited Members
Returns an HTML div element that contains an unordered list of validation error messages from the model-state dictionary.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
ValidationSummary() | Returns an HTML div element that contains an unordered list of all validation error messages from the model-state dictionary. | |
ValidationSummary(Boolean) | Returns an HTML div element that contains an unordered list of validation error message from the model-state dictionary, optionally excluding field-level errors. | |
ValidationSummary(IDictionary<String, Object>) | Returns an HTML div element that has the specified custom attributes defined by an attribute dictionary, and that contains an unordered list of all validation error messages that are in the model-state dictionary. | |
ValidationSummary(Object) | Returns an HTML div element that has the specified custom attributes defined by an attribute object, and that contains an unordered list of all validation error messages that are in the model-state dictionary. | |
ValidationSummary(String) | Returns an HTML div element that contains a summary message and an unordered list of all validation error messages that are in the model-state dictionary. | |
ValidationSummary(String, IDictionary<String, Object>) | Returns an HTML div element that has the specified custom attributes defined by an attribute dictionary, and that contains a summary message and an unordered list of all validation error message from the model-state dictionary. | |
ValidationSummary(String, Object) | Returns an HTML div element that has the specified custom attributes defined by an attribute object, and that contains a summary message and an unordered list of all validation error message from the model-state dictionary. | |
ValidationSummary(String, Boolean, IDictionary<String, Object>) | Returns an HTML div element that has the specified custom attributes defined by an attribute dictionary, and that contains a summary message and an unordered list of validation error message from the model-state dictionary, optionally excluding field-level errors. | |
ValidationSummary(String, Boolean, Object) | Returns an HTML div element that has the specified custom attributes defined by an attribute object, and that contains a summary message and an unordered list of validation error message from the model-state dictionary, optionally excluding field-level errors. |
Top
Remarks
This method is used in conjunction with the System.Web.Helpers.Validation class.