Click here to Skip to main content
16,012,082 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,


I'm getting following error message when i'm click button for export datatable to excel

I'm not using update panel for button, I'm I'm using update panel for only gridview


Microsoft JScript runtime error: 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.

how to solve this problem
Posted

1 solution

Add the below Trigger tag for that button before the UpdatePanel Tag close .

XML
<Triggers>              
                <asp:PostBackTrigger ControlID="btn1" />
            </Triggers>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900