How to hide FakePath part of filename...

2 posts, 0 answers
  1. Mark
    Mark avatar
    15 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:  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

  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 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.

    Regards,
    Dimiter Madjarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top