wwWebPage::AddValidationErrorsToBindingErrors
Allows you to a wwBusiness ValidationErrors collection and automatically add these errors to the BindingErrors Collection.
Makes it real easy to display error information from your business objects.
foxpro
foxpro
IF !this.oCustomer.Validate()
THIS.AddValidationErrorsToBindingErrors(this.oCustomer.oValidationErrors)
ENDIF
IF this.BindingErrors.Count > 0
this.ErrorDisplay.Text = this.BindingErrors.ToString()
RETURN
ENDIF
o.AddValidationErrorsToBindingErrors(loValidationErrors)
Parameters
loValidationErrors
See also
Class wwWebPage© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic