How to set JQuery validation rules from asp.net 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!!
animkAsked:
Who is Participating?
 
guru_samiConnect With a Mentor Commented:
Try registring JS scriptblocks at startup using the technique shown here:
http://dotnetslackers.com/articles/aspnet/JavaScript_with_ASP_NET_2_0_Pages_Part1.aspx#s6

The script block can have the jquery code related to validation.
0
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.