How to hide FakePath part of filename...

2 posts, 0 answers
  1. Mark
    Mark avatar
    22 posts
    Member since:
    Aug 2015

    Posted 16 Nov 2015 Link to this post

    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:


    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?



  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2312 posts

    Posted 17 Nov 2015 Link to this post

    Hello Mark,

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

    Dimiter Madjarov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top