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

How to get full path in client side in ansyncupload ?

1 Answer 64 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Aravind
Top achievements
Rank 2
Iron
Iron
Iron
Aravind asked on 09 Jul 2013, 10:39 AM
Hai
   How to get full path in client side ?  below client side code get name ,extension ,but how to get full path  ?

function onClientFileUploaded(sender, args) {
    var fileExtention = args.get_fileName().substring(args.get_fileName().lastIndexOf('.') + 1, args.get_fileName().length);
    var contentType = args.get_fileInfo().ContentType;
    var name = args.get_fileName()
   
    alert(contentType);
}

how to get full path and show in asp textbox and remove file uploaded list .


 Pls  reply me asap
  
 Regards
   Aravind

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter Filipov
Telerik team
answered on 11 Jul 2013, 09:33 AM
Hi Aravind,

Straight to the point. It is possible only to get the file name without the path  by handling the following event.

Regards,
Peter Filipov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
AsyncUpload
Asked by
Aravind
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Peter Filipov
Telerik team
Share this question
or