This example contains a DateBox that allows entry of a date, and demonstrates the Date Range Checking feature of the associated Date Validator. The date entered into the DateBox in this example is validated against a start date and end date that have been specified at design-time. An error message will appear next to the DateBox control if client-side validation fails. The message will be cleared when validation succeeds. more...
This example also contains an input DateBox that allows date entry, and demonstrates the Date Range Checking feature of the associated Date Validator. However, instead of specifying the boundary dates at design-time as in Example 1, start and end date controls are used to specify the boundary dates. The Start Date control is read-only, but the End Date control accepts user input. An error message will appear beside the DateBox control being validated if client-side validation fails. This message will be cleared when validation succeeds. more...
This example uses two DateBoxes, each with its own validator. The example demonstrates the Date Comparison capability of the validator. The two validators combined ensure that the Start Date is less than the End Date before submission to the server for processing. more...