Utilizando ASP.NET 3.5 y AJAX me encontré con la siguiente excepción:
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.
Para solucionarlo simplemente agrega una sección triggers a tu updatepanel referenciando al botón que envía el formulario. Así:
ASP:
-
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
-
<Triggers>
-
<asp:PostBackTrigger ControlID="MiBoton" />
-
</Triggers>
-
<ContentTemplate>
-
...tu contenido aquí...
-
</ContentTemplate>
-
</asp:UpdatePanel>
Normalmente esto siempre funciona, pero si no, visita esta página que contiene toda la explicación completa y más opciones de resolución.
