I have to implement the Export To Excel functionality . So when user will click on the buton a file donw window popup will appear , user can open the file , save the file and cancel it . But it is giving some warning message . I have used RadAjaxPanel
to reduce the page post back .
I checked it when I am not using the RadAjaxPanel
it is working fine ( wndow popup is coming ) . But when I am using the RadAjaxPanel
it is giving an error .
Error Text is :
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 enables.
Code snipet which I am using is : This is under a button click .
"Content-Disposition", "attachment; filename=Test12.xls");
Can you please look into it and suggest what steps I have to take to avoid this .