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

Is it possible to show full file path with file name in AsyncUpload ?

1 Answer 156 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, 07:15 AM
Hai everyone

   Is it possible to show file path with file in AsyncUpload control ?
 (e.g) C:/Program Files/Temp/a.txt 

if i use asyncupload it show file name only ,but i want show full file path with file name ,above i mention e.g

or is it possible show full path with file name in asp textbox and hide file name above in Asyncupload control ?


or is it possible to full path with file name in RadUpload control ? or hide default textbox in radupload and show in asp text box with full path and file name ?


Pls reply me asap
  Regards 
         Aravind
 

1 Answer, 1 is accepted

Sort by
0
Accepted
Hristo Valyavicharski
Telerik team
answered on 11 Jul 2013, 03:34 PM
Hi Aravind,

RadAsyncUpload's input actually is fake element. You cannot set text to it. However you could use jQuery to manipulate text of the selected files:
<telerik:RadAsyncUpload
    ID="RadAsyncUpload1"
    OnClientFilesUploaded="OnClientFilesUploaded"
    TargetFolder="~/Uploads"
    runat="server">
</telerik:RadAsyncUpload>

function OnClientFilesUploaded(sender, args) {
    $('.ruUploadProgress.ruUploadSuccess').each(function() {
        $(this).html('C:/Program Files/Temp/' + $(this).html());
    });
}


Regards,
Hristo Valyavicharski
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
Hristo Valyavicharski
Telerik team
Share this question
or