Ticket #832 (new enhancement)
Implement validator not requiring ControlToValidate.
| Reported by: | sergeymorkovkin | Owned by: | xue |
|---|---|---|---|
| Priority: | low | Milestone: | 3.1.3 |
| Component: | Prado Framework v3 | Version: | 3.1 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
Sometimes there may be validations when there are no input controls on a page and it's still required to use custom validation (OnServerValidate?). Alternatively, you can make ControlToValidate? property of TCustomValidator optional.
Here is a short example:
- User enters database access information, clicks 'Next'. - System validates input and attempts to connect to MySQL.
In this case connection failure message must not be bound to any input fields and should be displayed above the entire form.
Change History
Note: See
TracTickets for help on using
tickets.
