Response.Redirect threading error?

  • Thread starter Thread starter Doogie
  • Start date Start date
D

Doogie

Hi, I am trying to go from one asp page to another with the code
below:


For Each tripToAccept As String In tripsToAccept.Split("/"c)
dataManager.UpdateTripDetail("Accept", CInt(tripToAccept),
Hiduser.Value)
Next

Response.Redirect("TripAcceptReject.aspx")

When I do so, I get the following error: "Thread was being aborted".

What would cause an error like this?
 
Use Response.Redirect's second (optional) parameter (a Boolean) to toggle
this standard error on and off.
 
Use Response.Redirect's second (optional) parameter (a Boolean) to toggle
this standard error on and off.

This did work, kind of. The error went away, but the page I'm trying
to redirect to never came up??
 
Could my problem have something to do with the fact that the page that
I'm trying to redirect to appears to be a modal page?
 
Back
Top