Export To Excel Inside An Update Panel in Asp.net
When using export to excel inside update panel, it will popup an error like “pagerequestmanagerparsererrorexception” .
The actual problem is with Response.write, as it tries to update only certain part of the page asynchronously.
This can be solved in following ways:
1) Adding trigger :
<asp:PostBackTrigger ControlID=”btn_ExpertToExcel” />
2) Placing button outside the update panel