Helpful Information
 
 
Category: ASP.NET
RequiredFieldValidator stops working after first submit

I am using VS.NET with VB.NET. I have a page with a submit button and a reset button and several text boxes. A RequiredFieldValidator ensures that the 2 required text boxes are filled. The reset button(validation disabled) just clears out all the fields. The RequiredFieldValidator works only when the page is first loaded, but if I submit the page or reset the page, it no longer works....the page loads like the RequiredFieldValidator is not even there. If I go to another page on the site and then come back to that page, it works again. What do I have to change?

make sure that you have the latest aspnet_client files installed.










privacy (GDPR)