Response.Redirect() no longer working when upgrade the application to ASP.NET 4.0
Response.Redirect()is used inside Update panel- and we using the
AjaxToolKit 4.0
it gives me the error:
Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the
server could not be parsed. Common causes for this error are when the response is
modified by calls to Response.Write(), response filters, HttpModules, or server trace is
enabled.
Details: Error parsing near
UpdatePanel doesn’t support resonse.redirect asynchronousely. You should either completely postback the page or avoid using it.
http://forums.asp.net/t/1539851.aspx/1?Response+Redirect+not+working+on+an+UpdatePanel+if+redirecting+to+a+ClickOnce+application+in+some+cases+
http://forums.asp.net/t/1392827.aspx
How to fix error: The message received from the server could not be parsed