validation controls in asp
-
i have designed registration form. in that i used a calender for date of birth and date of join . just i drag and dropped the calender and textbox for date of birth.means whatever the date i have choosen in that calender it must appear over the textbox.here my constraint is doj must be greater than date of birth. for this i need validation controls and validation expressions without javascript if i used the validation controls like regular expression validator and compare validator then it is raising the validation even i gave the date of join greater than date of birth and date of join less than date of birth. help me in this regard as soon as possible please help me in this regard
-
i have designed registration form. in that i used a calender for date of birth and date of join . just i drag and dropped the calender and textbox for date of birth.means whatever the date i have choosen in that calender it must appear over the textbox.here my constraint is doj must be greater than date of birth. for this i need validation controls and validation expressions without javascript if i used the validation controls like regular expression validator and compare validator then it is raising the validation even i gave the date of join greater than date of birth and date of join less than date of birth. help me in this regard as soon as possible please help me in this regard
You can use Custom Validator and in that you can have Javascript code or server side code too. It is upto you. Regards, Kaushal Arora