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

Guidance with Attachments and Zip File

1 Answer 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 22 Apr 2014, 09:32 PM
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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Hristo Valyavicharski
Telerik team
answered on 25 Apr 2014, 02:05 PM
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.

 
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or