Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
UltrawebGridExcelExporter in Ajax Update Panel
posted

I want to Export the contents of Ultrawebgrid to excel, in a webapplication , without postback. I have Placed both the ultrawebgrid and button to export the content to excel in a update panel. I am getting below error when clicked on button.

Does anybody have any ideas? I really need to get this working.

 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.

 TO INFRAGISTICS DEVELOPERS: I saw number of others have the same issue. Does ingragistics planned to release any hot fix on this or is this goint to be part of their next release.

Parents
  • 45049
    Suggested Answer
    posted

    I commented on this topic in the following thread (among others):
    http://forums.infragistics.com/forums/p/8863/51101.aspx#51101

    Because WebGridExcelExporter takes over the response object, and because UpdatePanel expects a response to be a certain format, it is necessary for the page to trigger a normal postback to perform an export.  The same applies when using our WebAsyncRefreshPanel (WARP), for the same reason - WARP will simply ignore the response that it doesn't understand, while UpdatePanel throws an error.

    The same also applies when using WebGridDocumentExporter, using either UpdatePanel or WARP, for the same reason.

Reply Children