Book Image

ASP.NET 3.5 Social Networking

By : Andrew Siemer
Book Image

ASP.NET 3.5 Social Networking

By: Andrew Siemer

Overview of this book

Table of Contents (19 chapters)

Design


Let's take a look at the design for this feature.

Ratings

The ASP.NET AJAX Control Toolkit provides you with a fair amount of flexibility when it comes to creating the standard five-star ratings that you can see scattered around on the Internet. You are able to create horizontal or vertically positioned stars, stars that can be run from left to right, and right to left. You can even swap out the stars for any other image such as happy faces, if you really want to.

Note

More information regarding the toolkit can be found here: http://www.codeplex.com/AjaxControlToolkit and http://www.asp.net/ajax/ajaxcontroltoolkit/.

The one thing that the control in the toolkit does not do is allow you to show multiple attributes to be rated for an item. It also does not allow you to aggregate those ratings to be rolled up into one global rating. It is this more flexible control, which we will discuss and build here.

Before we discuss rating attributes of an item, we need to discuss what an item is. In...