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

RadasyncUpload Control fakepath Issue

1 Answer 105 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rajini
Top achievements
Rank 1
Rajini asked on 22 Jul 2015, 03:46 PM

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

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 27 Jul 2015, 10:03 AM
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
Tags
General Discussions
Asked by
Rajini
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or