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

Select file - show only file name in input area

1 Answer 79 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 16 Jan 2010, 10:45 PM
When I select a file, the input area shows the entire file path and file name, but when I run the demos, it will show just the file name.
I can't find any settings in the demo code that allows this to occur.  What do I have to do to show only the selected file and NOT the full file path in the input area?

Thanks,
Jim

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 18 Jan 2010, 01:01 PM
Hello Jim ,

The full path will appear only when testing on a localhost, in developing environment. When you website is hosted on real production server, the fullpath won't be visible due to security reasons. This is not limitation of RadUpload but is the way the browsers deal with the <input type='file' /> tag. There is no workaround for this limitation.

All the best,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Upload (Obsolete)
Asked by
Jim
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or