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

Get uploaded filename

2 Answers 132 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Sergio Ciannamea
Top achievements
Rank 1
Sergio Ciannamea asked on 12 May 2010, 01:40 PM
Hello,
I'm using your RadAsyncUpload and it works perfectly for uploading images however, I need to create a little thumbnail for each FileImput when FileUploaded event occurs (before saving in destination folder). The problem is that I need to associate the filename uploaded in temporary folder, to image element but I don't understand how can I do. I'm using OnClientFileUploaded event but I don't understand how can I take the filename of image uploaded. I hope that you can help me.


2 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 14 May 2010, 05:06 PM
Hi Sergio Ciannamea,

I suppose that you have the client FileUploaded event? Well, currently there is no way to obtain the temporary file name. However, we are going to fix this for the Q2 release. Moreover, we currently preparing a demo that will follow a scenario close to yours. The user will upload an image and then, without any postbacks, a thumbnail image will be placed next to the upload row.

Since currently it is not possible to use the temp file name we suggest that you undertake approach similar to the shown in this demo. The idea is to postback with ajax and get the thumbnail image on the server. Please take a look at the demo for details.

Best wishes,
Genady Sergeev
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.
0
MTs
Top achievements
Rank 1
answered on 21 Dec 2011, 02:57 PM
Hello Sergio.
I can't get the temp file name of an uploaded file in OnClientFileUploading event.
I have your Q3 version.
How to do this?
Tags
AsyncUpload
Asked by
Sergio Ciannamea
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
MTs
Top achievements
Rank 1
Share this question
or