Wednesday, March 21, 2012

UpdatePanel and form validation on the server side

Ok here is what I am experiencing. I have an UpdatePanel on my page. I am performing form validation on the server side by throwing an exception if the validation fails. This is working fine until I set custom errors to "RemoteOnly" in the web.config file. This makes sense since I am throwing an exception.

So the big question is how can I perform server validation on form fields with out throwing an exception?

Thanks!!

While we work closely with the ASP.NET AJAX team when developing the Toolkit, they're the real experts on general ASP.NET AJAX issues. Your problem doesn't seem to be directly related to the Toolkit, so we'd appreciate if you considered posting to one of theother newsgroups such asAJAX Discussion and Suggestions. Your post will be more helpful to others looking for similar advice if it's in the right place. Thank you!

No comments:

Post a Comment