Skip to main content

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.

public class kendoRating : kendoBase

Constructors​

Instance member 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);

Instance member kendoRating(options)​

Constructs a new instance of the kendoRating class.

NameTypeDescription
optionsObjectInitial 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);

Implements​