Anton
2007-06-14 23:05:02 UTC
Hello!
I have a user control that raises a search event which is handled in the
page the control is contained. The handler of the search event searches the
database for records, and if only one record is returned I want the page to
automatically redirect to another page passing the record found. The problem
is that this causes an unexplained exception and the thread is aborted. I
even have a catch block for that raiseevent call, but it still aborts the
thread. Is there anything I can do, except not call redirect?
Thanks
Anton
I have a user control that raises a search event which is handled in the
page the control is contained. The handler of the search event searches the
database for records, and if only one record is returned I want the page to
automatically redirect to another page passing the record found. The problem
is that this causes an unexplained exception and the thread is aborted. I
even have a catch block for that raiseevent call, but it still aborts the
thread. Is there anything I can do, except not call redirect?
Thanks
Anton