Select file - show only file name in input area

Thread is closed for posting
2 posts, 0 answers
  1. Jim
    Jim  avatar
    8 posts
    Member since:
    Mar 2009

    Posted 16 Jan 2010 Link to this post

    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?

  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 18 Jan 2010 Link to this post

    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.
Back to Top