This is a migrated thread and some comments may be shown as answers.

file download

2 Answers 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mww
Top achievements
Rank 1
mww asked on 20 Apr 2012, 06:00 PM
Im using the GridAttachmentColumn and have created a file download function in the item command event.  This works ok and I get the 'save' dialogue box and can download the selected file.  The problem is with the RadProgressArea on the page, I use this becuase I also have a file upload function  on the same page, the progress indicator alwatys shows as well as the save dialogue, and it wont shut down.  I dont actually need this for the download.  Is there a  way i can disable it just for the download function ?

2 Answers, 1 is accepted

Sort by
0
M
Top achievements
Rank 1
answered on 24 Jul 2012, 04:43 PM
Can you post your solution?
I'm having an issue getting mine to work properly.
Are your files located on the server or db table?
Thanks, Mike
0
Eyup
Telerik team
answered on 27 Jul 2012, 12:35 PM
Hi,

Please note that due to the limitations of the javascript XmlHttpRequest object used for AJAX, to download or upload attachments, AJAX needs to be temporarily disabled, so that the page performs a full postback as demonstrated in the following demo:
 Grid / Attachment Column ( Please refer to Description part last section )

In addition, you could also check out the topics below:
 File Upload in Ajaxified Grid
 Attachment download from AJAX RadGrid
 Download Files with Ajaxified Control

I hope this will prove helpful.

Regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
mww
Top achievements
Rank 1
Answers by
M
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or