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

Appearance changes

1 Answer 15 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
Neil N
Top achievements
Rank 1
Veteran
Iron
Neil N asked on 11 Oct 2018, 03:51 PM
How can I change the colour of the unfilled portion of the progress bar? Also, is it possible to have square corners of the bar?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 11 Oct 2018, 08:06 PM
Hi Neil,

You can inspect the rendered HTML of the control and devise CSS rules that will change the appearance as desired. The following post can help you get started with that: https://www.telerik.com/blogs/improve-your-debugging-skills-with-chrome-devtools.

Here's a small example I created for you so you can also use that as reference and base:

<style>
    .RadProgressBar.myCustomAppearance {
        background-color: red;
    }
 
        .RadProgressBar.myCustomAppearance .rpbLabelWrapper {
            border-radius: 0;
        }
</style>
<telerik:RadProgressBar runat="server" ID="rpb1" CssClass="myCustomAppearance" Value="30"></telerik:RadProgressBar>


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ProgressBar
Asked by
Neil N
Top achievements
Rank 1
Veteran
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or