RadasyncUpload Control fakepath Issue

2 posts, 0 answers
  1. Rajini
    Rajini avatar
    2 posts
    Member since:
    Jul 2015

    Posted 22 Jul 2015 Link to this post

    I have used Telerik Radasyncupload control in my web applicaiton to upload images. after uploading image i am saving into database. While developing it works fine. But after hosting the website, whenever browsing an image .. it is not displaying due to "fakepath". I would like to upload images from client local machine. But after uploading image not getting displayed. It is giving fakepath like "c://fakepath/Desert.jpg".... but actually it is "c:/users/pictures/Desert.jpg".. I am not getting actual path. Can anybody helps on this... 

    I am trying to get this path in OnClientFileSelected event. My Telerik dll version is  2010.1.519.35

  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 27 Jul 2015 Link to this post

    Hello Rajini,

     

    I am afraid that the experienced inability to get the file path is a browser security limitation. However, there are some workarounds. Please refer to the following thread, where this topic is discussed in details.

    http://stackoverflow.com/questions/4851595/how-to-resolve-the-c-fakepath


    Regards,
    Nencho
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top