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

RadUpload RepeaterResults

1 Answer 45 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
JJ
Top achievements
Rank 1
JJ asked on 27 Mar 2008, 06:23 PM
Hi Telerik Folk,

I'm using your example of uploading and displaying the 'FileName' and 'ContentLength', but for me, instead of just displaying the file name, I am getting the full file path and file name of the location I've uploaded from after each upload.

How can I only show the file name?

Thanks,

JJ

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 28 Mar 2008, 08:03 AM
Hello,

If you want to find and display the name of the uploaded file but not its full path you should use the GetName() method which RadUpload's server-side API provides. The FileName property returns the full client-side path of the file while the GetName() method returns the name of the uploaded file. You can take a look at the Manipulating the Uploaded Files help article for reference.

Let us know if you need further assistance.

Best regards,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
JJ
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Share this question
or