Hello admin. I have a problem. When i used the Kendo upload control and i want to get full path of the image in client side then how can i get path of image in kendo upload. I know its security issue but i want to get full path of image. so please suggest me how to do that?
thanks
1 Answer, 1 is accepted
0
Dimo
Telerik team
answered on 14 Jan 2015, 08:04 AM
Hello Yogesh,
You can use the Upload widget's select event and this code:
function onSelect(e) {
var fileNameAndPath = e.sender.wrapper.find("input").first().val();
}
Be aware that this works only in Internet Explorer and relies on a browser security setting, which you have no control over.
Regards,
Dimo
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.