Hello everyone, I have a page with several button controls, one of which is a button called Save. I want to trigger the RequiredFieldValidator control and display error messages if and only if the Save button is clicked. Right now when I click on buttons
other than the Save button, error messages are showing and that is not what I want.
I have tried to set the RequiredFieldValidator controls' Visible property to false in the PageLoad event and in the Click event of all the buttons except for the Save button Click event. In the Save button Click event I have set the Visible property to true.
What I have tried did not work, please help me resolve this problem, thanks in advance.
Go to the complete details ...