The ASP.NET MVC Rating is a highly customizable control to rate products or services with precise and accurate values by using built-in precision modes. The customization supported in the ASP.NET MVC Rating control makes rating more expressive instead of just showing numeric values.
The ASP.NET MVC Rating control has several precision modes, which are listed below.
Full: The rating value is displayed in multiples of 1 (whole number).
Half: The rating value is displayed in multiples of 0.5 (half).
Quarter: The rating value is displayed in multiples of 0.25 (quarter).
Exact: The rating value is displayed in multiples of 0.1 (fraction).
The ASP.NET MVC Rating control supports tooltips to provide more information about the rating. Tooltips can be customized using the template to provide more expressive content rather than the item’s numerical values.
Labels provide additional information about the current rating value. Labels can be customized using the template and placed in different positions around the rating.
The ASP.NET MVC Rating control supports templates to customize rating items in different ways. Custom icons can be in the form of emojis, hearts, stars, SVG, and more.
The ASP.NET MVC Rating control supports right-to-left (RTL) rendering.
Customize rating items’ spacing, rated/unrated fill color, border color, and more, enabling it to fit the application’s needs.
Customizing the size of the items makes the Rating control more accessible and accurate.
Adjust the space between items in the Rating control.
Customize the fill color of rated and unrated states of an item.
Customizing the border color and stroke thickness of rated and unrated items enhances their appearance and makes them stand out.
The ASP.NET MVC Rating supports these built-in themes: Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, Fluent, and high contrast. Users can customize one of these built-in themes or create new themes to achieve their desired look and feel by simply overriding SASS variables or using our Theme Studio application.
Tab: Navigate to the Rating control.
Left Arrow: Decrease the rating value.
Right Arrow: Increase the rating value.
Up Arrow: Increase the rating value.
Down Arrow: Decrease the rating value.
Easily get started with the ASP.NET MVC Rating using a few simple lines of C# code example as demonstrated below. Also explore our ASP.NET MVC Rating example that shows you how to render and configure the ASP.NET MVC Rating.
@using Syncfusion.EJ2.Inputs <div class="control-section"> @Html.EJS().Rating("rating").Value(3).Render() </div>
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.