Review: ASP.NET Rating System
page 3 of 5
by Satheesh Babu
Feedback
Average Rating: 
Views (Total / Last 10 Days): 26827/ 77

More on the control

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.


View Entire Article

User Comments

Title: sdf   
Name: sdf
Date: 2012-10-22 7:29:11 AM
Comment:
sdf
Title: Mooi product   
Name: Stephan Stein
Date: 2012-05-02 12:57:19 AM
Comment:
Ik heb dit artikel gekocht en het is helemaal naar mijn wens.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-05-18 10:57:55 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search