views:

12

answers:

0

I have a form. I am validating user input on client side and server side in case if any naughty user bypasses client side validation. I am using asp.net's RequiredFieldValidators. I have set them to dynamic. They display fine on client side if form fails validation. But if I try to bypass client side validation, they never show up, even though I have dynamically set their ErrorMessage property and have tried setting their Enabled and Visible properties to true. Also I have tried to set their style to display:inline but that does not work either.

Any idea how this should be done?

Thanks.