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

Raduploadhandler

1 Answer 137 Views
Upload
This is a migrated thread and some comments may be shown as answers.
tim
Top achievements
Rank 1
tim asked on 18 May 2011, 02:02 PM
Hi,

Could someone help me in creating an uploadhandler that could do the following.

i need to pass 1 entity. but this entity can either be a "Installatie" or a "Product".
if it is an installatie i need to create a folder on my server with a path like "ClientBin/Media/InstMedia/(InstallatieID)"
if it is a product it needs to be "ClientBin/Media/ProdMedia/(ProductID)"
so that i can set the raduploaders targetfolder to any of these paths.
i can't do this on the client side(creating files)

1 Answer, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 19 May 2011, 09:13 AM
Hi tim,

I am not sure I understand your scenario. The RadUpload control can upload only physical files at this point. If you do not have a file, then you would not be able to upload it. You would be able to create folders on the server, but you would have to start uploading first (make a request to the RadUploadHandler).

Regards,
Alex Fidanov
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
Tags
Upload
Asked by
tim
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Share this question
or