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

Displaying file names below the control

3 Answers 329 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Needha
Top achievements
Rank 1
Needha asked on 27 Jun 2013, 08:41 AM
Hi telerik,

When I select files to upload, the files names are displayed above the control. I want to display the file names and internal progress bar below the file input.

Thanks for reply,
Needha.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 Jun 2013, 09:07 AM
Hi Needha,

Try setting the RadAsyncUpload's UploadedFilesRendering property to BelowFileInput to display the uploaded file names below the control.

Thanks,
Shinu.
0
Aravind
Top achievements
Rank 2
Iron
Iron
Iron
answered on 10 Jul 2013, 05:27 PM
Hi
   is ti possible to show select button only after file is uploaded in asyncupload
i use below java script for show file name in text box and i want hide file name in asyncuplod control ,only i need remove icon and select button no need file above the control ,bcz in script i show in textbox

 function OnClientFileUploaded(sender, args) {
            var contentType = args.get_fileName()
             document.getElementById("ctl00_ContentPlaceHolder1_txtMfpFilepath").value = contentType;
        }

and i use css for hide file remove and cancel in control but this remove select button also

.ruUploadProgress, li .ruCancel, li .ruRemove
        {
            visibility:hidden;
        }
        li.ruUploading
        {
            height:1px;
        }
pls reply me asap,sorry for here i post,bcz in new thread nobody reply me.

 Regards
    Aravind
0
Hristo Valyavicharski
Telerik team
answered on 15 Jul 2013, 01:47 PM
Hi Aravind,

You can hide the input of the RadAsyncUpload as set HideFileInput to true. For the rest (icon and remove text) use the following css:
<style type="text/css">
    .ruButton.ruRemove {
        visibility:hidden;
    }
 
    .RadUpload .ruUploadSuccess, .RadUpload .ruUploadFailure, .RadUpload .ruUploadCancelled {
        background-image:none !important;
    }
</style>

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
Needha
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Aravind
Top achievements
Rank 2
Iron
Iron
Iron
Hristo Valyavicharski
Telerik team
Share this question
or