Telerik UI for ASP.NET Core Rating Basic Usage

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
index.cshtml
IndexController.cs
Index_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API
devcraft ninja image

The Rating component is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik ASP.NET Core Rating component allows users to intuitively rate specific objects in an application by selecting a number of item stars from a predefined maximum number of items. The component also provides the ability to control the selection of its items, comes with a label functionality that shows the current value, lets you control theprecision of the selection, and more. In addition, the control can also be used with both keyboard and mouse, comes with WAI-ARIA compatibility, and screen-reader users can also interact with the component.

The current example displays a common scenario for a Rating component.

The ASP.NET Core Rating control is part of Telerik UI for ASP.NET Core, a professional-grade UI library with 110+ components for building modern and feature-rich web applications. The UI for ASP.NET Core Rating is a server-side wrapper for the Kendo UI for jQuery Rating widget and supports an HtmlHelper and a TagHelper mode.

Functionality and Features

  • Selection—The Rating allows you to configure the selection of its items.
  • Precision—The Rating allows you to control the precision of the items that will be selected through user interaction.
  • Label—The label functionality of the Rating allows you to show the current value out of the max value.
  • Tooltip—The Rating exposes the option for you to display a tooltip for each of the items.
  • Templates—Modify the default icons of the Rating.
  • Accessibility, keyboard navigation, and RTL Support—The Rating supports a variety of accessibility standards.

Additional Apps

This Rating example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources