How to set JQuery validation rules from codebebind page?

I have a form which loads all of its control properties, like maxLength, input type, validations from database. Depending on what is set in the database I would like to create JQuery validation. Any one know how to do this? Thanks much for your help!!
Who is Participating?
guru_samiConnect With a Mentor Commented:
Try registring JS scriptblocks at startup using the technique shown here:

The script block can have the jquery code related to validation.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.