views:

281

answers:

2

where used on http://localhost:8692/Contacts/Default.aspx Response.Redirect("http://www.google.com") redirects to http://localhost:8692/Contacts/http%3a%2f%2fwww.google.com

The problem just appeared once I upgraded to .Net 4

Edit: Response.Redirect("~/Contacts/MemberDetails.aspx?Id=3") goes to http://localhost:8692/Contacts/%2fContacts%2fMemberDetails.aspx%3fId%3d1

I found one mention of this on the web but no solution and it was for the release candidate http://forums.asp.net/t/1527814.aspx

+2  A: 

Are you using the Ajax Control toolkit at all? Same issue was happening to me and the fix was to download the toolkit for the .net 4.0 version. I was using the ToolkitScriptManager which might have been the ultimate problem, but the new Ajax Toolkit for .net 4.0 seems to have solved it!

CodeSamurai
Yes I am... will try that
Stephen lacy
I was using the 4.0 version but I was using the wrong scriptmanager, thanks for setting me on the right course :)
Stephen lacy
A: 

Thanks for much of help!

Hex
ChrisF