Well while implementing Ajax i had received error due to Sys.WebForms.PageRequestManagerParserErrorException
the best solution that i could figure out to over come is catch this exception and byPass it.. if any body has a good way of catching this exception why this arise Please do let me know.
i has to modify the script
<script type="text/javascript">
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function (sender, args)
{
if (args.get_error()!=null)
{
if (args.get_error().name === 'Sys.WebForms.PageRequestManagerParserErrorException')
{
// remember to set errorHandled = true to keep from getting a popup from the AJAX library itself
args.set_errorHandled(true);
window.location.href='Login.aspx?Message=SessionExpired';
}
if ( args.get_error().name === 'Sys.WebForms.PageRequestManagerTimeoutException')
{
// remember to set errorHandled = true to keep from getting a popup from the AJAX library itself
args.set_errorHandled(true);
window.location.href='Login.aspx?Message=SessionExpired';
}
}
}
);
</script>