I have a text box, webimagebutton on the form. textbox has a required field validator attached to it.
When i click on the webimagebutton, i have a method on the server which clears the value of the text box.
when i enter some value in the text box and reach to webimagebutton using tab and press space bar or Enter key, postback happens and the text box is cleared. this is expected. but the required field validator is showing error message. This is not correct. Can some one help on this? Thanks in advance.
What type of validatorare you using?
its a asp:RequiredFieldValidator