ValidationHelper.GetErrors Method
Returns a list of current validation errors, and optionally lets you specify a list of fields to check.
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Parameters
- fields
- Type: System.String[]
Optional. The names (value of the name attribute) of the user input elements to get error information for. You can specify any number of element names, separated by commas. If you do not specify a list of fields, the method returns errors for all fields.
Show: