Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create a star-rating system?

Amazon has a star rating system. Other sites use smiley faces that change color when you mouse over them. Does anyone know of an API I can get or a simple way to put this together?

This is an ASP.NET 2010 app.

like image 212
donde Avatar asked Aug 11 '10 14:08

donde


3 Answers

Have a read of this:

http://imar.spaanjaars.com/410/building-a-simple-rating-control-for-aspnet-20

like image 60
fredley Avatar answered Nov 27 '22 15:11

fredley


Presuming it is ASP.NET web-forms you could try using the Rating control in the Ajax Control Tookit. Or you could check out Building a Simple Rating Control for ASP.NET 2.0 tutorial which guides you through all the steps. If you'd rather go the jQuery root then there are plugins to do this, though the back-end data capture and storage would be a bit more tricky in web-forms.

like image 24
Dan Diplo Avatar answered Nov 27 '22 13:11

Dan Diplo


There are many Star Rating available as controls. From microsoft or codeProject

or css Jquery etc. try Binging/googling it :-)

like image 38
Nash Avatar answered Nov 27 '22 14:11

Nash