Last Updated: 02 May 2022 10:11 by ADMIN
Created on: 25 Apr 2022 15:51
Category: Stepper
Type: Bug Report
A custom class and styles cannot be applied to the Stepper through its HtmlAttributes configuration

### Bug report

When a custom class or styles are set through the HtmlAttributes() method, they are not applied to the Stepper's element.

### Reproduction of the problem

1. Set a class in the Stepper's HtmlAttributes, e.g.,

.HtmlAttributes(new { @class = "test" })


2. Add a custom style in the Stepper's HtmlAttributes, e.g.,

.HtmlAttributes(new { style = "color: blue;" })


### Current behavior

The custom class/styles are not applied to the Stepper's wrapping element.

### Expected/desired behavior

The custom classes and styles are applied to the Stepper.

### Environment

* **Kendo UI version: 2022.1.412
* **jQuery version: 1.12.4
* **Browser: [all] 

This item is a duplicate of an already existing item. You can find the original item here:
1 comment
Ivan Danchev
Posted on: 02 May 2022 10:11


We are marking this Bug Report as duplicate of: https://feedback.telerik.com/aspnet-mvc/1562745-a-custom-class-and-styles-cannot-be-applied-to-the-stepper-through-its-htmlattributes-configuration

Ivan Danchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.