The solution will not enable client-side validation, which is what the OP wanted (see their html markeup snippet block). Net 4.5 project and client-side validation does not work correclty (e.g., barks when a valid date is entered, just like what the OP said) In fact, your answer about needing to change the [Date Type(Date Type. Server side validation will work just fine for either Date Type.
It is the client-side validation that is the problem.
Try Parse() method to let the substrate take care for you.
This works fine on the tables in oracle db with date datatype.
Net for validating a date parameter with following attributes Accepts dates with format yyyy-mm-dd date should be between (1753-01--12-31)(both inclusive) Appreciate your help. actually I am developing a web service and using regex expressions for validating parameters.
I wanted to be consistent and that the reason I wish to have regex to validate date ranges.
, now is the problem when i a date is given for eg.
i want check if the "given date" is coming between "fromdate" and "todate".