F
feng
I want to have a custom error page that I can always call
and pass parameters to it when I hit runtime exceptions.
For instance, in my code behind, I have a try-catch block.
When I catch an exception, the exception object contains a
collection of messages to be displaied. I would like to be
able to call a common exception handling page and somehow
pass along the exception collection. Then the exception
page will retrive the messages from the collection and
display it to the user's browser.
Could someone tell me how to achieve this? Some sample
code would be even better.
Thanks a million.
Feng
and pass parameters to it when I hit runtime exceptions.
For instance, in my code behind, I have a try-catch block.
When I catch an exception, the exception object contains a
collection of messages to be displaied. I would like to be
able to call a common exception handling page and somehow
pass along the exception collection. Then the exception
page will retrive the messages from the collection and
display it to the user's browser.
Could someone tell me how to achieve this? Some sample
code would be even better.
Thanks a million.
Feng