Evanscorp LogoBusiness Technology SolutionsThe thinker
NewsContactFeedbackSite Map Search:
Home -> Software Products -> .NET Server Controls -> DateBox -> DateBox Demo

Date Control Sample

Example 1

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...

Enter a date that falls within this decade

Example 2

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...

Start Date01-January-2000
End Date
Enter a date between the Start Date (1 January 2000) and the End Date (specify above):

Example 3

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...

Start Date
End Date


Copyright © 2003-2008 Evanscorp Pty. Limited. All Rights Reserved.
Terms of Use | Privacy Statement