Call of DrawToWeb in post-back inside UpdatePanel does not work

Call of DrawToWeb in post-back inside UpdatePanel does not work

Forum member · May 27, 2012
Dear Sirs, We are currently evaluating the last version of the .NET Merger to purchase and use it in newly created website of our company. Everything seems to work great and to fit our requirements! There is only one problem, which we've got so far: DrawToWeb method with forceDownload parameter set to 'true' does not work being executed during post-back fired inside UpdatePanel. The following error is returned by ScriptResource.axd: "Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed." Could you suggest the solution? We do not want to use the normal post-back and to reload the whole page. Best regards, Alexey

Re: Call of DrawToWeb in post-back inside UpdatePanel does not work

Forum member · May 27, 2012
Sorry for posting this issue! We found out that this is the generic issue with file uploading \ downloading during the asynchronous post-backs inside UpdatePanel and that in order to solve it we should register the corresponding control as PostBackTrigger to fire synchronous post-backs.