Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  




           


PageRequestManagerParserErrorException Issue with Export Button
Received:
Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed
In IE 10 from an ImageButton that initiated an Export (Response.Write to output stream) from within an UpdatePanel.

Solution:
Give the ImageButton a unique ID if it didn't had one (mine was blank as control was auto-generated)
AND
Flag the button as using normal postback instead of rendering in update panel:
ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);
if (scriptManager != null)
scriptManager.RegisterPostBackControl(myButton);

Created By: amos 5/21/2013 3:38:04 PM