Completed
Last Updated: 28 Jun 2016 12:27 by ADMIN
ADMIN
Ianko
Created on: 07 Apr 2016 13:27
Category: Rating
Type: Bug Report
0
State is not cleared for hovered items of RadRating when Precision="Item"
The hovered state of the items of RadRating is not cleared when the Precision property of the rating is set to Item.

A possible workaround is adding the following script just before the closing </form> tag:

var $T = Telerik.Web.UI;
$T.RadRating.prototype._mouseOut = function (e, mouseMove) {
	var targetElement = e.target || e.srcElement;
	if (this._ulWrapper === targetElement || $telerik.$(this._ulWrapper).has(targetElement).length > 0) {
		if (!mouseMove && $T.RatingPrecision.Item != this._precision)
			this._hoveredItem = null;
	}
	this._attachDocumentHandlers(false);
	this._createPartElements(false);
	this._storeStartCoords(false);
	this._spanSize = null;
	this._hoveredItem = null;
	this._clearOverState();
	if (this._clearSelectedStateOnHover)
		this._synchronizeUIWithValue(this._value);
}
0 comments