Guidance with Attachments and Zip File

2 posts, 1 answers
  1. Daniel
    Daniel avatar
    9 posts
    Member since:
    Nov 2013

    Posted 22 Apr 2014 Link to this post

    I'm a newbie with these Telerik controls.  So, I am not sure where to begin.

    Here is the requirements of the page I am trying to build

    1.  There is section on the page that prompts the user if they want to "attach" any files to this request.  A request is a single row in the Request database.
    2.  So, I was plan on allowing the user to navigate and identify various files that they want to attach to this request.  For each file that they identify, a row is created in table on the screen that contains the path and file name.
    3.  When the user submits the request (as in save the request to the database), then I would like to create a ZIP file for all those files listed in the table.  Once the ZIP file is created, then I would like to save that ZIP into the database as a CLOB.

    So, which Telerik controls should I use?
  2. Answer
    Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 25 Apr 2014 Link to this post

    Hi Daniel,

    You can use:

        RadAsyncUpload to upload the selected file.
        RadButton to submit and Download the uploaded files.
        RadZipLibrary to compress uploaded files.

    Please find the attached sample. It shows how to upload files in a DB. Also you may look at this online demo.

    Regards,
    Hristo Valyavicharski
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top