I am trying to call cetralized class function ONservervalidate for a custom validator, So I don’t have to write it on each and every page. How do I do this?
Thanks in advance!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could create a Modul or Class with a shared function as your servervalidate-function. You have to add the handler of the event manually:
aspx:
codebehind:
reusable Validator-Class: