AJAX Panel not throwing exceptions

Posted by Grant on Stack Overflow See other posts from Stack Overflow or by Grant
Published on 2010-05-13T06:28:59Z Indexed on 2010/05/13 6:34 UTC
Read the original article Hit count: 140

Filed under:
|
|
|

Hi, i have just noticed something strange in some asp.net markup.

I have a standard form with a couple of textboxes and a submit button.

When clicked the code behind will attempt to perform some logic and then return.

If the input values are not valid it used to throw an exception.

The moment i wrapped the controls in an AJAX update panel and try to submit bad data, no exception is thrown and the panel returns like nothing was wrong.

Does anyone know how to return this to the previous behavior whilst keeping the update panel?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about AJAX