kendoRating
Namespace: Wisej.Web.Ext.Kendo
Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)
The Rating allows to intuitively rate by selecting number of items stars from a predefined maximum number of items.
- C#
- VB.NET
public class kendoRating : kendoBase
Public Class kendoRating
Inherits kendoBase
Constructors
kendoRating()
Constructs a new instance of the kendoRating class.
Example:
The following example creates a five-star rating and sets its value through the Options property.
var rating = new kendoRating();
rating.Options.max = 5;
rating.Options.value = 3;
this.Controls.Add(rating);
kendoRating(options)
Constructs a new instance of the kendoRating class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a rating that accepts half-star values.
var rating = new kendoRating(new
{
min = 1,
max = 5,
value = 3.5,
precision = "half"
});
this.Controls.Add(rating);