Select Files then Upload with Button

2 posts, 0 answers
  1. Tim
    Tim avatar
    1 posts
    Member since:
    Nov 2010

    Posted 29 Feb 2012 Link to this post

    I am using the RadAsyncUpload control, I have successfully implemented a custom handler to save the uploaded files into SharePoint, that is all work ok.

    Prior to the control uploading the files I want to show the files that were selected, capture a description relating to all the selected files and then have an "Upload" button that sends them off to the server.

    I did consider using the RadUpload control but that doesn't give the MultipleFileSelection like the silverlight/flash control within the RadAsyncUpload.

    My main requirement is letting users select multiple files, display the chosen files and then allow the user to confirm the selection prior to upload.
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 02 Mar 2012 Link to this post

    Hello Tim,

    As I explained in the support ticket that you send us:

    You can implement this functionality by subscribing to the OnClientFileUploading client-side event and use the javascript confirm box to ask the user if they want to upload the files. You can also use set_cancel(true) in case the files should not be uploaded.

    Greetings,
    Kate
    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