Redirect Not working after UpdateItem

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:


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


}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top