This class provides a holding container for BindingErrors. BindingErrors occur during binding and unbinding of controls and any errors are stored in this collection. This class is used extensively for checking for validation errors and then displaying them with the ToString() or ToHtml() methods.
System.Object
System.Collections.Generic.List<BindingError>
Westwind.Web.Controls.BindingErrors
public class BindingErrors : List<BindingError>
Class Members
Member | Description |
---|
|
Constructor |
|
|
ToHtml |
Formats all the BindingErrors into a rich list of error messages. The error messages are marked up with links to the appropriate controls. Format of the list is a <ul> style list ready to display in an HTML page. public string ToHtml();
|
|
ToString |
Formats an Binding Errors collection as a string with carriage returns public virtual string ToString();
|
Requirements
Namespace: Westwind.Web.Controls
Assembly: westwind.web.dll