Stepper progressbar

1 Answer 25 Views
Stepper
Eric
Top achievements
Rank 1
Eric asked on 11 Mar 2025, 11:58 AM | edited on 11 Mar 2025, 12:01 PM

I'm using the stepper and i don't want to display the progressbar animation since my page is reloading every 30 seconds, and it's anoying.

i tried a couple things like:

@(Html.Kendo().Stepper()
    .Name("stepper")
    .Animation(false) // Disable animation
    .Steps(s =>
    {
        s.Add().Label("First Step");
        s.Add().Label("Second Step").Selected(true);
        s.Add().Label("Last Step").Icon("save");
    })
)

also with css:

.k-stepper .k-stepper-content {
    transition: none !important;
}

also with javascript:

$(document).ready(function() {
    kendo.fx($("#stepper")).disable();
});
$(document).ready(function() {
    var stepper = $("#stepper").data("kendoStepper");
    stepper.options.animation = false;
});

Nothing is working.

i' trying to make it work in Telerik Dojo : Kendo UI Dojo

Any idea how to remove the animation?

 

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 13 Mar 2025, 02:09 PM

Hello, Eric,

The Stepper doesn't expose an animation option which can be disabled. The animation is coming from the integrated ProgressBar, so you can get a reference to it through the stepper instance, and use the setOptions method to disable the animation.

var stepper = $("#stepper").data("kendoStepper");
      stepper.progressBar.setOptions({
        animation: false,
      });

Here you will find a small Dojo example for reference.

Let me know if that would work for you.

Regards,
Martin
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Eric
Top achievements
Rank 1
commented on 13 Mar 2025, 03:41 PM

Thanks, seem to work perfectly
Tags
Stepper
Asked by
Eric
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or