asp.net mvc - How do I use MVC HandleError attribute with JQueryUI Dialog? -


i have handleerror attribute working normally, however:

i have jqueryui dialog displays partial view. if generate error in action dialog remains blank , no redirect error.aspx page.

what need work?

in case exception inside controller action handleerror attribute catches exception , renders error view. problem sets statuscode 500. when jquery sees status code considers request failed , doesn't bother show contents. on way workaround write custom error handler attribute deriving standard 1 , overriding onexception method setting status code 200 when rendering error view.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -