We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Custom images behaviour

Hi,

I'm using the SfRating control in a project with custom images.
If one image is selected, the others are unselected. However, I would like to have all images selected until the clicked image like the behaviour of the default stars.
Example:
Current behaviour:  ☺☺☻☺☺
Desired behaviour: ☻☻☻☺☺

Is that possible with the SfRating control?

Thanks,
Tamara

1 Reply

ET Eswaran Thirugnanasambandam Syncfusion Team March 12, 2019 01:28 PM UTC

Hi Tamara

Greetings from Syncfusion.

We have prepared sample based upon your requirement. In the sample during the Value changed event, we will set the selected image up to current selected item and we will set unselected image for all the remaining items. Please find the sample from below link.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/RatingDemo817876637

Please check our sample and let us know if you have any concerns.

Regards,
Eswaran T.

Loader.
Live Chat Icon For mobile
Up arrow icon