Name
Validate
Synopsis
Page.Validate( )
Invokes the validation logic for each validator control on the page. When this method is invoked, it iterates the Page object’s ValidatorCollection collection and executes the validation logic associated with each validator control.
Example
See the example for the IsValid property.
Notes
The Validate method is called automatically when the user clicks any
HTML or ASP button control whose CausesValidation property is
True
.
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.