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

Implementation of IValidationErrorsRenderer that renders validation errors within a span element, using breaks between the errors.
This renderer's behavior is consistent with standard ASP.NET behavior of the control validators, and is used as the default renderer for Spring.NET ValidationError 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