I have a website in ASP.NET (WebForms, NOT MVC) that has a survey form divided into several slides. On each slide there is the next button, which, obviously, performs the transition (on the client side, and not back or a remote request) to the next slide.
In each slide, I have several ASP.NET controls with associated validators. I want these validators to start when I press the next button (or maybe when each input loses focus?).
I remember how ASP.NET performed client-side validation on the lost focus, but maybe I'm wrong ... (I stopped working on ASP.NET for about 3 years, so I canβt remember)
thanks
UPDATE:
It would be better to force ASP.NET to run each validator when the associated control has lost focus. I remember how ASP.NET did it (or am I sleeping? = P)
source share