ASP.Net Webforms - Is there an easy way to know if a validator in a hidden control is failing?
Web Development
1
Posts
1
Posters
0
Views
1
Watching
-
We have an aspx file which contains a lot of custom web controls (ascx files) which has validators in it. Now when I click a button, it doesn't work because some validator is failing. My problem is that there're no errors that appear on the screen, so I suspect that it's one of the controls with
.Visible = false
. Is there any easy way to know which one is failing? - It's too troublesome to change the code first and set every control to.Visible = true
just to test. - Breakpoints doesn't work as well, since validators run on client side. Thanks!Rafferty