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


I am using the ajax rating control within my 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?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David RobitailleAnalyst ProgrammerCommented:
Short Reponse : No
Long Response :Not with the ajax rating control from the ajax control toolkit.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
aspnet-scotlandAuthor Commented:
Full solution not provided
David RobitailleAnalyst ProgrammerCommented:
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.

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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.