New to Kendo UI for jQueryStart a free 30-day trial

SpriteCssClass

configuration

Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a span element inside the Button. In case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the icon property.

The span element can be added automatically by the widget, or an existing element can be used, if it has a k-sprite CSS class applied.

<button id="button" type="button">Edit</button>
<script>
    $("#button").kendoButton({
        spriteCssClass: "myEditIcon"
    });
</script>
<button id="button" type="button">
    <span class="k-sprite"></span> Edit
</button>
<script>
    $("#button").kendoButton({
        spriteCssClass: "myEditIcon"
    });
</script>
Not finding the help you need?
Contact Support