Redirect Not working after UpdateItem

  • Thread starter Thread starter Rich
  • Start date Start date
R

Rich

Hi,

I'm using a DetailsView in asp.net 2.0 and C#.

After the UpdateItem(true) is hit, I want to redirect the page to the next page. The code won't do this though for some reason. As soon as the update is done, the same page just reloads. Could anyone help me with this? Here's a piece of the code I'm using:


Code:

else
{
RegistrationView.UpdateItem(true);
Response.Redirect("EditInfo2.aspx?d=" + Request.QueryString["d"]);


}
 
Hi,

I'm using a DetailsView in asp.net 2.0 and C#.

After the UpdateItem(true) is hit, I want to redirect the page to the next page. The code won't do this though for some reason. As soon as the update is done, the same page just reloads. Could anyone help me with this? Here's a piece of the code I'm using:


Code:

else
{
RegistrationView.UpdateItem(true);
Response.Redirect("EditInfo2.aspx?d=" + Request.QueryString["d"]);


}

Try this news group:

microsoft.public.dotnet.framework.aspnet

Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
 
Back
Top