Star Rating Control which should accept the decimal part also

Sqs

New Member
Am Using Visual studio 2010 and coding by C#. Now i want to do a star rating control ie I have some values within 5, not more than that and i want to show the value rated by start based on the rating. Below is the clear scenario.[*]If I get a value 5 then i have to to show all 5 star filled up with some colour.[*]If i get a value 3 then i have to show 3 star which is filled up with some colour and rest stars as empty.[*]If i get the value 3.5 theh i have to show 3 start which is filled up with colour and next 4th star with HALF FILLED and another HALF and one star as empty ie without colour.[*]If i get the value some 4.2 means i have to show 4 starts which is filled with colour completely and the last only 0.2 % should be filled with colour and rest part as empty.How can i achieve this?? Am using ajax control and i don't want to use jquery please note.Can any one help me in this??Thanks
 
Back
Top