Display an Upload completed message.

7 posts, 1 answers
  1. Sameer
    Sameer avatar
    20 posts
    Member since:
    Apr 2013

    Posted 26 Jun 2013 Link to this post

    Hi guys,

    Is there any event that will fire once all the files are uploaded. I want to display text Files uploaded successfully message. Please help.

    Thanks
    Sameer
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 26 Jun 2013 Link to this post

    Hi Sameer,

    One way to do to this is in client side,using the onClientFileSelected and OnClientFileUploaded events. You can increase a counter in the OnClientFileSelected, when the user selects a file to upload (ex.selectedFilesCounter), and in the OnClientFileUploaded method increase another counter(ex.uploadedFiles).When the selectedFilesCounter = uploadedFiles then you can raise an event or perform postback and write your necessary logic.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sameer
    Sameer avatar
    20 posts
    Member since:
    Apr 2013

    Posted 28 Jun 2013 Link to this post

    Thanks Shinu.

    Just now I noticed another issue with Radasyncupload in IE 7 running on Windows XP. I am not able to select multiple files to upload. The same code works fine in IE9 under windows 7. Any suggestion?
  5. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 28 Jun 2013 Link to this post

    Hi Sameer,

    I guess Silverlight or Flash is not installed in your system. Multiple file selection is not available in IE versions prior to IE10 (Note IE9 is an exception here), unless there is Silverlight or Flash installed. RadAsyncUpload can choose between three modules for uploading in IE- IFrame, Flash and Silverlight (File Api is not supported in IE). The module with higher priority is Silverlight. If there is no Silverlight installed on the client machine, RadAsyncUpload will utilize the Flash module. So install these plugins if you found them missing in your system.

    For your information, in IE9 RadAsyncUpload implements only IFrame and Silverlight Upload modules. Flash module can be applied only in previous versions of IE Browser because of some incompatibilities with IE9.

    Also check if you have set the DisablePlugins property of the RadAsyncUpload to true, then also the control wont make use of Flash and Silverlight modules.

    Thanks,
    Shinu.
  6. Sameer
    Sameer avatar
    20 posts
    Member since:
    Apr 2013

    Posted 01 Jul 2013 Link to this post

    You are right shinu. Flash ans SL were missing. I installed flash and then it worked properly.

    I am uploading image files. I searched how I can restrict HD pictures but didnt get the appropriate solution. Does the control has any mechanism to resize and crop the uploaded image?
  7. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 01 Jul 2013 Link to this post

    Hi Sameer,

    Please have a look at this documentation on how to resize images.

    Thanks,
    Shinu.
  8. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 01 Jul 2013 Link to this post

    Hi Sameer,

    Please have a look at this documentation  http://www.telerik.com/help/aspnet-ajax/upload-how-to-resizing-images.html   on how to resize images.

    Thanks,
    Shinu.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017