G
Guest
Looking through WebUIValidation.js, I discovered that the standard validators
don't cater for non-numeric date formats (e.g. dd-MMM-yyyy) which I would
like to do
To keep code to a minimum, I would like to extend the existing validator to
handle other common date formats and still be able to do both client and/or
server side validation as normal. Unfortunately, I am unable to get the
extended code to ever be called
I implemented the EvaluateIsValid method and registering a client script
within OnPreRender but this code never seems to run at all. I also tried
temporarily hacking ever instance of the WebUIValidation.js code on my
computer for my current version of ASP.NET without any change either
Ideas on debugging, extension or deployment in this scenario appreciated
don't cater for non-numeric date formats (e.g. dd-MMM-yyyy) which I would
like to do
To keep code to a minimum, I would like to extend the existing validator to
handle other common date formats and still be able to do both client and/or
server side validation as normal. Unfortunately, I am unable to get the
extended code to ever be called
I implemented the EvaluateIsValid method and registering a client script
within OnPreRender but this code never seems to run at all. I also tried
temporarily hacking ever instance of the WebUIValidation.js code on my
computer for my current version of ASP.NET without any change either
Ideas on debugging, extension or deployment in this scenario appreciated