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

How to hide FakePath part of filename...

1 Answer 102 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 16 Nov 2015, 05:49 PM

When I use the upload control, the users see "C:\fakepath\filename.jpg"...I read that this is part of the HTML 5 spec to hide such info.  When I looked at your demo:  http://demos.telerik.com/kendo-ui/upload/index

 

I noticed that just the filename is showing.  Is there a property I can set for that?  Did you use some type of custom JQuery to remove the C:\fakepath?

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 17 Nov 2015, 01:20 PM

Hello Mark,

Yes, we strip the path before the file name in order to display the name only.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Upload
Asked by
Mark
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or