Hi,
In my module, there is a link for downloading a file, like this:
DotNetNuke.Common.Utilities.FileSystemUtils.DownloadFile(this.PortalId, iFileId, false, true);
this is working good, but when i put my module in AJAX (host -> modules -> AJAX), i have this error when i click on the link.
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 '%PDF-1.3
All the fonctions like "BinaryWrite()" doesn't work with AJAX.
I tried anothers solutions, but i can't resolve it.
Can you help me ?
Regards. |