C# Class Spring.Web.UI.Validation.DivValidationErrorsRenderer

Implementation of IValidationErrorsRenderer that renders validation errors within a div element, using breaks between the errors.
This renderer's behavior is consistent with standard ASP.NET behavior of the validation summary, and is used as default renderer for Spring.NET control.
Inheritance: AbstractValidationErrorsRenderer
Datei anzeigen Open project: spring-projects/spring-net

Public Methods

Method Description
RenderErrors ( Page page, System.Web.UI.HtmlTextWriter writer, IList errors ) : void

Renders validation errors using specified HtmlTextWriter.

Method Details

RenderErrors() public method

Renders validation errors using specified HtmlTextWriter.
public RenderErrors ( Page page, System.Web.UI.HtmlTextWriter writer, IList errors ) : void
page System.Web.UI.Page Web form instance.
writer System.Web.UI.HtmlTextWriter An HTML writer to use.
errors IList The list of validation errors.
return void