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

radasyncupload progress bar thicker

3 Answers 175 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andres
Top achievements
Rank 1
Andres asked on 21 Apr 2017, 07:42 AM

How can I make radasyncupload progress bar thicker in Lightweight render mode?

I found this:

http://www.telerik.com/forums/to-make-radasyncupload-progress-bar-thicker

but only works in rendermode="Classic"

Thanks

3 Answers, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 25 Apr 2017, 11:44 AM
Hello Andres,

Increasing the also the height of the element with classes .ruFileWrap and .ruStyled would make the bar thicker when the AsyncUpload is in Lightweight render mode.

Here is a sample implementation for the AsyncUpload with Lightweight render mode:

<style>
    html .RadAsyncUpload .ruFileProgressWrap {
        background-color: lightgray;
        background-image: none;
        height: 20px;
    }
 
    html .RadAsyncUpload .ruFileProgress.ruProgressStarted {
        background-color: blue;
        background-image: none;
        height: 20px;
    }
 
    .thick-progress-bar .ruFileWrap.ruStyled {
        height: 40px;
    }
</style>

<telerik:RadAsyncUpload RenderMode="Lightweight" ID="RadAsyncUpload1" runat="server"
    OnClientFileSelected="OnClientFileSelected"
    OnClientFileUploaded="OnClientFileUploaded">
</telerik:RadAsyncUpload>
<script>
    var $ = $telerik.$
    function OnClientFileSelected(sender, args) {
        $(args.get_row()).addClass('thick-progress-bar');
    }
 
    function OnClientFileUploaded(sender, args) {
        $(args.get_row()).removeClass('thick-progress-bar');
    }
</script>

Regards,
Peter Milchev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Andres
Top achievements
Rank 1
answered on 25 Apr 2017, 12:41 PM

It's works.

Thanks a lot!

0
JD
Top achievements
Rank 1
answered on 19 Aug 2020, 05:34 PM

Hi Peter

I have question. I am posting question on this thread because of i thought my issue some kind a related of Render mode. For me in-line progress not showing in case of RenderMode="Lightweight". But when i change it to RenderMode="Classic" then in-line progress bar is working fine. Could you assist on my issue? why inline progress bar is not working  in case of RenderMode="Lightweight". Thanks

Tags
General Discussions
Asked by
Andres
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Andres
Top achievements
Rank 1
JD
Top achievements
Rank 1
Share this question
or