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

How do I set file to upload path from server?

1 Answer 96 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Johan Schoeman
Top achievements
Rank 1
Johan Schoeman asked on 04 Nov 2009, 12:16 PM
How do I set the path displayed in the upload control from server-side?
 I want a user to select a file to upload, and after user selected a file, I use an Ajax request to send the file info to server side.
 After a postback by a button, I want to set the radUpload control to still display the path previously selected by the user.

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 05 Nov 2009, 09:46 PM
You can use the TargetFolder string to set and/or get the path of where your upload control is uploading your files to:
 
RadUpload1.TargetFolder = "~/Test/"

Tags
Upload (Obsolete)
Asked by
Johan Schoeman
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or