Link to home
Start Free TrialLog in
Avatar of aspnet-scotland
aspnet-scotlandFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How can I use the ajax rating control to display an average rating?

Hi,

I am using the ajax rating control within my asp.net web application frontend to show a backend database int value between 1 and 5 for a particular item. This is fine when showing a single rating value but I want to show an average rating value, thus meaning that a typical value may be equal to 4.63... forcing me to use a float data type value instead of an int in my database. Is it possible to link the ajax rating control to a float value, i.e. can the ajax rating control show half stars or even float values?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of David Robitaille
David Robitaille
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aspnet-scotland

ASKER

Full solution not provided
From the Experts-exchange Help:

The correct answer to some questions is "You can't do that."        
Sometimes, you will get an answer that isn't what you want to  read, but it still may be the correct answer, and you should award  points to the Expert that gave you that answer.

https://www.experts-exchange.com/help.jsp#hs=29&hi=405

What's the right grade to give?        
Grading at Experts Exchange is not like school. It's more like  the "10-point Must" system in professional boxing; in other words, an  answer is worth an A, unless it doesn't resolve your issue. If it  requires you to do a little more research, or figure out one more piece  of code, then it's worth a B. If you think it's not worth a B, the  custom is to offer the Experts an opportunity to earn a better grade.


https://www.experts-exchange.com/help.jsp#hs=29&hi=403