Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to compare dates on the client

$
0
0

This example illustrates how to compare values of two ASPxDateEdits on the client side. The result (number of days between the start date and end date is displayed in the ASPxTextBox).
If the end date is less than the start date, the second editor becomes invalid.

Question Comments

Added By: Christian King 1 at: 10/6/2014 3:09:23 PM    

How do you change the error message text?  The example says InValid Value for it's error message text.  Also, is this still the best way to handle date comparison between two controls?  It seems like there should be a better way of doing it than resorting to JavaScript.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>