RadUpload as an upload assistant

Thread is closed for posting
2 posts, 1 answers
  1. Seth
    Seth avatar
    66 posts
    Member since:
    Oct 2009

    Posted 16 Jun 2010 Link to this post

    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?


  2. Answer
    Dimitar Milushev
    Dimitar Milushev avatar
    555 posts

    Posted 22 Jun 2010 Link to this post

    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) {

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