How to get full path in client side in ansyncupload ?

2 posts, 1 answers
  1. Aravind
    Aravind avatar
    41 posts
    Member since:
    Jun 2013

    Posted 09 Jul 2013 Link to this post

    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
  2. Answer
    Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 11 Jul 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top