I'm in need of assistance. I've developed a web application in .Net 3.5 that utilizes asp.net Master page, update panel, and server controls. The asp.net page created with the Master page includes an update panel that contains other server controls. My issue arises when trying to trigger a postback of a link button within the Update panel using JavaScript.
__doPostBack('<%= ServerControl.ClientID.Replace("_","$") %>', '');
While all browsers execute this code without any problems, IE7 refuses to cooperate and throws the following error message:
SCRIPT5022: 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 P'.
ScriptResource.axd?d=83rNjjrfU8utKX3Fb9DiQ2ssFx4VjayT06ZNJ9Aj38iN2ufeWDf1Hd7nu73QshB8Q80tcmosFZ1IQcnqEvC-7nMUe8kLPGpreZP7iBWnviMAl8vzvxmED51yr720yzPv0&t=ffffffffec2d9970, line 513 character 13
I have tried setting
ValidateRequest="false" EnableEventValidation="false"
but the problem persists. I opted for the Update panel to enable asynchronous requests to the client, avoiding full-page reloads associated with PostBack events.
If anyone has insights on how to resolve this issue, your help would be greatly appreciated.
Thank you,
Anvesh