|
|
Content Rating Here is a simple program that is used to rate content. Content Rating consists of:
- The code – note how small the code footprint is.
- A custom Content Rating Web Part used to rate the content.
- The custom Rating Averages Web Part is used to display the results.
The Content Rating code is compact – a class that contains one constructor and two properties – Rating and User. The custom Content Rating Web Part makes it simple to rate page content. As a Web Part, it can dynamically be placed anywhere on the page. It is displayed as a simple link, “Rate this Content”. Click the link and the control expands, without a post back to the server, to display a rating control and a text box for comments. Save your rating and it is immediately added to the Rating Averages Web Part.
|
|
|
|
|