How can I customise the AJAX rating control?

Hi,

I have developed an asp.net web application using visual studio 2008 that has a listview frontend and an sql server 2005 database backend. I am using a linq to sql datacontext to connect to my backend db.

Within the ItemTemplate of my listview control I have dropped an AJAX rating control (attached code). As you can see from my code I have bound the control to a backend database column. Is there anyway that I can alter the rating control to accept double float data type values, like 3.4, instead of round int values like 3?

Thanks.
<ajaxToolkit:Rating 
                                                            ID="Rating1" 
                                                            runat="server"
                                                            CurrentRating='<%# Eval("trader_overall_rating") %>'
                                                            MaxRating="5"
                                                            StarCssClass="ratingStar"
                                                            WaitingStarCssClass="savedRatingStar"
                                                            FilledStarCssClass="filledRatingStar"
                                                            EmptyStarCssClass="emptyRatingStar" 
                                                            ReadOnly="true">
                                                        </ajaxToolkit:Rating>

Open in new window

aspnet-scotlandAsked:
Who is Participating?
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.

Amandeep Singh BhullarCommented:
0
aspnet-scotlandAuthor Commented:
Unfortunately I have already persued those events with the ajax rating control and hit a brick wall.
0
aspnet-scotlandAuthor Commented:
I was able to customise the below control to meet my needs...

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

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
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.