c# - Change border or background color on control being validated? -
i'm adding validation existing asp.net web app built web form. input textbox controls need validate created dynamically on server side.
while creating textboxes, can create rangevalidator
controls , set controltovalidate
id of textbox.
when validation fails, rangevalidator
displays error message @ validation control placed.
but rather change border
or background-color
red of textbox instead. how can done?
you can add custom logic validators both sever side , client side. check link help. http://msdn.microsoft.com/en-us/library/f5db6z8k%28v=vs.90%29.aspx
Comments
Post a Comment