nobody knows my question: How can I show my error page in new page and old page should steel shows old data?
-
I want to show my error page in new page. Old page should still 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 cleared entirely and shows blank page. I WANT MY OLD PAGE TO SHOW THE OLD DATA 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
-
I want to show my error page in new page. Old page should still 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 cleared entirely and shows blank page. I WANT MY OLD PAGE TO SHOW THE OLD DATA 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
See the section on Application_Error in http://support.microsoft.com/kb/306355[^].
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.