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

RadUpload as an upload assistant

1 Answer 28 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Seth
Top achievements
Rank 1
Seth asked on 17 Jun 2010, 02:38 AM
I am creating a file upload page that will allow my users to upload multiple documents at one time.  I am also loading index values for each file when saving the documents.  The wrench is that each document could have different index values.

I am attempting to accomplish this by loading the file names and indexes into a RadGrid and when the user is ready, they click on an upload button.  If I leave the files in the AsyncRadUpload control, everything works fine.  But having the files show in the RadUpload control and in my grid makes it kind of confusing for the common end user.

Ideally I would like to remove the files from the RadUpload control but I'm unsure how to upload the files from that point.  Is this possible?  If not, is there a way to hide the list of files that have been selected in the AsyncRadUpload control?

TIA

Seth

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar Milushev
Telerik team
answered on 22 Jun 2010, 04:39 PM
Hi Seth Ricard,

There is no built-in way to achieve this functionality, but you can easily hide the list of files with a simple line of jQuery. Handle the OnClientFileUploaded="fileUploaded" client-side event of the AsyncUpload and add the following script somewhere on your page:

<script type="text/javascript">
        function fileUploaded(sender, args) {
            $telerik.$(".ruUploadSuccess").parent().parent().hide();
        }       
</script>

Regards,
Dimitar Milushev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Upload (Obsolete)
Asked by
Seth
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Share this question
or