file download

3 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 20 Apr 2012 Link to this post

    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. M
    M avatar
    24 posts
    Member since:
    Jul 2012

    Posted 24 Jul 2012 Link to this post

    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
  3. Eyup
    Eyup avatar
    4081 posts

    Posted 27 Jul 2012 Link to this post


    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.

    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.
Back to Top