Hi
I have a scenario where I have to upload more than a file.
I want use radUpload in combination with progressbar.
I set dynamically the number of files that going to upload.
Let's assume I have upload 10 files, I need create a thumbnail when each file is phisical upload on the server.
It is this possible ? Please help
cheers
M.
I have a scenario where I have to upload more than a file.
I want use radUpload in combination with progressbar.
I set dynamically the number of files that going to upload.
Let's assume I have upload 10 files, I need create a thumbnail when each file is phisical upload on the server.
It is this possible ? Please help
cheers
M.
6 Answers, 1 is accepted
0
Hello Mauro,
I believe that this help article will help you get started:
Resizing Images (Creating Thumbnails)
Greetings,
Veskoni
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I believe that this help article will help you get started:
Resizing Images (Creating Thumbnails)
Greetings,
Veskoni
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mauro
Top achievements
Rank 1
answered on 04 Aug 2008, 12:57 PM
Hi
the problem is not how resize or create an thumbnail.
My needs are :
I have 10 files to upload
Does the radControl fires an events per each file or I have to wait the that the controls finish to upload all of them ?
If fires an event on each file here I can create the thumbnail.
thanks
M.
the problem is not how resize or create an thumbnail.
My needs are :
I have 10 files to upload
Does the radControl fires an events per each file or I have to wait the that the controls finish to upload all of them ?
If fires an event on each file here I can create the thumbnail.
thanks
M.
0
Mauro
Top achievements
Rank 1
answered on 04 Aug 2008, 12:57 PM
Hi
the problem is not how resize or create an thumbnail.
My needs are :
I have 10 files to upload
Does the radControl fires an events per each file or I have to wait the that the controls finish to upload all of them ?
If fires an event on each file here I can create the thumbnail.
thanks
M.
the problem is not how resize or create an thumbnail.
My needs are :
I have 10 files to upload
Does the radControl fires an events per each file or I have to wait the that the controls finish to upload all of them ?
If fires an event on each file here I can create the thumbnail.
thanks
M.
0
Hi Mauro,
If there are any selected files in the RadUpload - they all will be sent to the server on the next postback.
Please check these articles:
I hope this helps.
Regards,
Veskoni
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
If there are any selected files in the RadUpload - they all will be sent to the server on the next postback.
Please check these articles:
I hope this helps.
Regards,
Veskoni
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mauro
Top achievements
Rank 1
answered on 04 Aug 2008, 03:12 PM
Do you read the post before answer ?
0
Hello Mauro,
RadUpload does not fire an event for each uploaded file. It uploads all the files at once on the postback to the server so you have to wait for the upload to finish.
The first link I gave you points to a help article that shows how to iterate through all uploaded files:
Sincerely yours,
Veskoni
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
RadUpload does not fire an event for each uploaded file. It uploads all the files at once on the postback to the server so you have to wait for the upload to finish.
The first link I gave you points to a help article that shows how to iterate through all uploaded files:
protected void Button1_Click(object sender, System.EventArgs e) |
{ |
foreach (UploadedFile f in RadUpload1.UploadedFiles) |
{ |
// do your custom job here |
f.SaveAs( "c:\\uploaded files\\" + f.GetName(), true); |
} |
} |
Sincerely yours,
Veskoni
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.