Folks,
I’m doing remote validation in an ASP.NET MVC 3 context. Sometimes it doesn’t work at first. The page just sits there after a submit attempt as if validation has failed, but there are no messages and the remote validation routines are never hit on the server.
I have at various times figured out various reasons for this — parameters specified in the wrong order in the attribute constructor, input fields on the form given the wrong names — but sometimes I’m stumped for long periods.
Are there any tools or techniques that would make this easier? Some way to peer into the ajax call results or validation mechanism to tell what error is being thrown (and silently consumed) by what?
Thanks.
Fiddler is your your friend. Other friends include Firebug and Debugging consoles of your browsers (typically F12)