Event that can be hooked to validate each control after it's been unbound. Allows for doing application level validation of the data once it's been returned. This method receives a WebDataBindingItem parameter which includes a reference to both the control and the DataSource object where you can check values. Return false from the event method to indicate that validation failed which causes a new BindingError to be created and added to the BindingErrors collection.

Namespace:  Mindscape.LightSpeed.Web.WebForms
Assembly:  Mindscape.LightSpeed.Web (in Mindscape.LightSpeed.Web.dll)
Version: 4.0.1000.1 (4.0.0.0)

Syntax

C#
public event ItemResultNotification ValidateControl
Visual Basic (Declaration)
Public Event ValidateControl As ItemResultNotification

See Also