Hello,
I have a web form which, when an exception is thrown in its
codebehind, should be redirected to another from to display
the details of the error message.
I have a special asp textbox in this form which is invisible
and which will be assigned the value of the error message in
the exception handler so that in the Page_Load of the
new web form, the value of the error message is retrieved
from the Request.Form collection.
However, nothing seems to work. I had to abandon the non-visible
textbox in favour of a hidden input (since it seems that non
visible text boxes aren't included in the Request.Form collection).
No matter - I cannot seem to get the error message passed
from one form to another. It's strange, because I can see
values that I assign in other elements of the form (outside of
the exception) passed to the Request.Form collection.
Can anyone shed any light on what's going on here?
TIA,
--
Akin
aknak at aksoto dot idps dot co dot uk