Click here to Skip to main content
16,018,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have Two Date Fields like From Date and To Date. For comparision of them, we have used Compare Validator.

My Question is, for Comparision of dates we have 2 functions like 1. Inbuilt Compare Validator and 2. user defined Javascript function. So while executing the code which function will fire first either inbuilt or user defined.

Please Clarify.


Thanks in Adavance.
Ramakrishna
Posted

1 solution

Since I don't know much about your inbuilt validator I cannot say much about it, but I hope it take place on server side. JavaScript executing on client side, so in your question user define comparison execute first.
 
Share this answer
 
Comments
Ramakrishna, Eswarraju 29-Jun-12 9:36am    
Compare validator also generates Javascript for validating, So, which one will execute first.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900