Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response.Redirect Problem

Status
Not open for further replies.

jzelhart

Programmer
Feb 10, 2003
469
US
Ok this is weird. The code works fine when I run it from Visual Studio 2003. But when I post it to the server, the following code no longer works. I tried adding a call to my UpdateRecord to save the record prior to moving to another webform. I even tried making that code a function and only running the Response Redirect if the function was true so that it would wait for it and the Response Redirect doesn't work. Now I comment that out and the Response Redirect still doesn't work.

Code:
        Response.Redirect("EmployeePCRPrint.aspx?PassedInfo=" & txtPCRID.Text, True)

I can manually enter the path in the address and it works fine.

Now it just flashes the same webform and goes to the first field.

Any ideas?

Hope everyone is having a great day!

Thanks - Jennifer
 
I think that I found it... Stupid me had SmartNavigation turned on and must have run into one of those lovely bugs.

Hope everyone is having a great day!

Thanks - Jennifer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top