I am seeing an odd problem with RajAjaxManager. When I load my page clean, the page works fine. However, when I reload the page in the same session, then IsAjaxRequest is not working. It is not set to true.
Below is what I am getting:
Message: 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 '
<!DOCTYPE html PUB'.
Line: 5
Char: 84093
Code: 0
URI: http://sitename/jscript/MicrosoftAjax.js