Rating Tag Helper Overview

The Telerik UI Rating tag helper for ASP.NET Core is a server-side wrapper for the Kendo UI Rating widget.

The Rating allows to intuitively rate by selecting number of items stars from a predefined maximum number of items.

Initializing the Rating

The following example demonstrates how to define the Rating by using the Rating tag helper.

  <kendo-rating name="rating"></kendo-rating>

Basic Configuration

The Rating tag helper configuration options are passed as attributes of the tag.

<kendo-rating name="rating" min="1" max="6" value="3"></kendo-rating>

Functionality and Features

Events

You can subscribe to all Rating events.

    <kendo-rating name="rating" on-change="onChange" on-select="onSelect"></kendo-rating>

    <script>
        function onChange(e) {
            console.log(e);
        }

        function onSelect(e) {
            console.log(e);
        }
    </script>

See Also

In this article
Not finding the help you need? Improve this article