Register   Login
     
  Latest Posts  
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 6:15 PM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 6:08 PM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/20/2010 5:29 AM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/20/2010 3:49 AM
Recently created articles are not shown in list
by atriage on 3/19/2010 7:18 PM
RE: News Articles Tokens
by spirit on 3/19/2010 6:43 PM
Author post count and link in listing.item.html
by mattbunce on 3/19/2010 6:18 PM
RE: News Article Detail and Lightbox
by spirit on 3/19/2010 6:12 PM
RE: News Article Detail and Lightbox
by ray-isc on 3/19/2010 5:49 PM
Using custom profile properties with [AUTHOR:XXX]
by mattbunce on 3/19/2010 5:34 PM
  Forums  
Subject: [DNN4] Error downloadFile() with AJAX
Prev Next
You are not authorized to post a reply.

Author Messages
Romain CrignyUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:11

5/29/2009 1:57 AM  

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.

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


5/29/2009 6:45 AM  
I'm not really sure, you might have to ask in the core forums.

Scott McCulloch
Site Administrator
Romain CrignyUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:11

5/29/2009 6:52 AM  

Hi Scott,

Where it is ?

Is it another thread to this forum ?

Could you give me a link, please ?

 

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


5/29/2009 6:53 AM  
It's at www.dotnetnuke.com

I don't use this method, so I can't really comment.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > General > Bugs & Problems > [DNN4] Error downloadFile() with AJAX



ActiveForums 3.7