mbiro
Programmer
- Nov 20, 2001
- 304
I have an asp.net 2.0 application and I dropped a PasswordRecovery control on a page. The control works fine, but I have a problem with the validator. The control has a text box for the username and a submit button. If the text box is left blank and the button clicked, a red asterisk appears next to the textbox. Mouseover on the asterisk shows a tooltip 'User Name is required'. I cannot get the message to appear without the mouseover. In other words, I need the message to appear next the text box (or under) if the button is clicked and the fiels is blank.
I see the UserNameRequiredErrorMessage in the properties and it has a value. I tried tying a validation summary to the control, but no luck. What am I missing?
I see the UserNameRequiredErrorMessage in the properties and it has a value. I tried tying a validation summary to the control, but no luck. What am I missing?