Hi,
I have a grid in my web page with GridAttachmentColumn which displays download file link. When user click on link to download the file from server. I writes byte stream in response so that It shows download dialogue in user's browser. It works fine without using loading panel, but with loading panel enabled when I try to download a file clicking the download link of GridAttachmentColumn, it shows strange behavior with some javascript message "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 '". How can I disable loading panel behavior when user try to download file only and still works for other grid operations like insert/edit/delete and paging operation.
Ohh yes, I know we can not write file to response while sending Ajax request or response.
Thanks
Tejas
I have a grid in my web page with GridAttachmentColumn which displays download file link. When user click on link to download the file from server. I writes byte stream in response so that It shows download dialogue in user's browser. It works fine without using loading panel, but with loading panel enabled when I try to download a file clicking the download link of GridAttachmentColumn, it shows strange behavior with some javascript message "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 '". How can I disable loading panel behavior when user try to download file only and still works for other grid operations like insert/edit/delete and paging operation.
Ohh yes, I know we can not write file to response while sending Ajax request or response.
Thanks
Tejas