The control by default comes with stars as rating images. We
can change the image to any other like the one on ASPAlliance or whatever we
want. We need to compile the component with the new image as an embedded
resource for our new images to work. Deploying the component is also very easy
and is a single DLL with embedded resources. Meaning, if we change the image
then we need to compile the component with the new images as embed resources as
build action so that the final component itself will become a single DLL with
the images being embedded in the DLL. By default, it takes an integer array of
5 elements as data source and it itself calculates average rating and displays
it to the user. It also has an mechanism where we can have our control to check
whether the user has rated this item before and cancel his action thus
preventing duplicate rating by a user.
The control itself exposes an event prior to rating the item
so that we can cancel or terminate the duplicate rating tried by the user. We
can change the component code so that we can increase the rating scale to 10.
Using this control in our site is as easy as using other ASP.NET controls, just
drag and drop into the WebForm and give the minimal inputs it requires and it
will work like a charm. What else we can expect from a rating system! Visit the
link in the reference section and read his article about the technical aspects
of the control and the other technical stuffs on how to use the control on our
page.