Sys.WebForms.PageRequestManagerParserErrorException – what it is and how to avoid it..here it is
Code Snip “Customizing ScriptManager” to detect errors
Quick code snip that you should add to your script manager if you are using AJAX to catch errors, something pretty frequent when using the ajax library.
aspx.cs:
protected void ScriptManager1_AsyncPostBackError(object sender, AsyncPostBackErrorEventArgs e)
{
ScriptManager1.AsyncPostBackErrorMessage = e.Exception.Message+e.Exception.StackTrace ;
}
aspx:
<asp:ScriptManager ID=”ScriptManager1″ runat=”server”
OnAsyncPostBackError=”ScriptManager1_AsyncPostBackError”>
</asp:ScriptManager>