How can I show my error page in new page and old page should steel shows old data?
-
As I mentioned in subject, I want to show my error page in new page. Old page should steel shows old data. I write in applicationerror event in global, this: response.write("window.open('errorpage.aspx')"); But there is a problem with it. The old page shows aspx error message displaying my code and exception. If I set custom error in config, my old page will be redirected to errorpage which is set in custom error tag. If I use Server.ClearError() method, the old page will be clear entirely and shows blank page. I WANT MY OLD PAGE TO SHOW MY OLD PAGE WITH USER CHANGES WHICH CAUSING ERROR AND THE NEW PAGE, SHOWS MY ERRORPAGE LIKE ERROR MESSAGE IN WINDOWS APPLICATION. I don't want to handle my all errors by try catch. I want to handle all of them in allication error. Because I can find my latest exception by Server.GetLastError() method. Please instruct me what to do. Thanks Rastgar