Rating HtmlHelper Overview
The Telerik UI Rating HtmlHelper 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.
The Rating is part of Telerik UI for ASP.NET Core, a
professional grade UI library with 100+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
Initializing the Rating
The following example demonstrates how to define the Rating by using the Rating HtmlHelper.
@(Html.Kendo().Rating()
.Name("rating")
)
Basic Configuration
The following example demonstrates the basic configuration for the Rating HtmlHelper.
@(Html.Kendo().Rating()
.Name("rating")
.Min(1)
.Max(6)
.Value(3)
)
<script>
$(function() {
// The Name() of the Rating is used to get its client-side instance.
var rating = $("#rating").data("kendoRating");
});
</script>