Sys.WebForms.PageRequestManagerParserErrorException: The message from
the server could not be parsed. ... "<DOCTYPE ..."
I have three update panels and a couple of AJAX toolkit extenders on
the page. The button that causes the problem is simply sending an
email then redirecting to a "Thank You" page. There are two update
panels that are both set to conditionally trigger on that button
click. The reason for these update panels is multiple validation
groups that need to be validated. When I Googled this problem, all I
got was that Response.Redirect() is suppossed to work, but it doesn't.
I am using .NET 3.5.
Thanks in advance for any help.
Norm
P.S. I might be missing something stupid, I've been up for a long time.
I ended up doing it on the client. The was my solution: (slash
workaround)
ScriptManager.RegisterClientScriptBlock(Me, GetType(Object),
"redirect", "window.location.href='RequestSubmit.aspx'", True)
Happy coding!
the most common solution is redirecting from an async postback is to use
ScriptManager.RegisterStartupScript to render javascript that does the
redirect (document.location.href)
-- bruce (sqlwork.com)