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

Display an Upload completed message.

6 Answers 137 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Sameer
Top achievements
Rank 1
Sameer asked on 27 Jun 2013, 02:36 AM
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

6 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 Jun 2013, 04:16 AM
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.
0
Sameer
Top achievements
Rank 1
answered on 28 Jun 2013, 08:27 AM
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?
0
Accepted
Shinu
Top achievements
Rank 2
answered on 28 Jun 2013, 09:29 AM
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.
0
Sameer
Top achievements
Rank 1
answered on 01 Jul 2013, 09:00 AM
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?
0
Shinu
Top achievements
Rank 2
answered on 01 Jul 2013, 09:47 AM
Hi Sameer,

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

Thanks,
Shinu.
0
Shinu
Top achievements
Rank 2
answered on 01 Jul 2013, 09:48 AM
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.
Tags
AsyncUpload
Asked by
Sameer
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Sameer
Top achievements
Rank 1
Share this question
or