Asp.net mvc kendo rating control shwoing 1 star by default even though value is zero
This code is integrated in kendo grid
below is the code
columns.Bound(p => p.Rating).Title("Rating").Editable("returnFalse").ClientTemplate(Html.Kendo().Rating()
.Name("llrating_#=SpreadsheetVersionDataId#")
.Label(false)
.Tooltip(true)
.HtmlAttributes(new { data_bind = "value:Rating" })
.Selection("continuous")
.ToClientTemplate().ToHtmlString()
);
Sudheer, by default the rating will display 1 star if any value that is equal or smaller than 1 is set. No stars represents no value. Thus, if you would like to have no stars, set the value to null instead of 0.