A SlickRater control that automatically populates the UserRating and AverageRating values.

For a list of all members of this type, see AutoSlickRater Members.

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         KrispWare.KrispControl
            KrispWare.SlickRater
               KrispWare.AutoSlickRater

public class AutoSlickRater : SlickRater

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Use this control instead of the regular SlickRater control if you don't want to bother writing your own code to populate and save user ratings and average ratings. It utilizes a cookie to store user's ratings and an XML file stored in the XmlFilePath directory of your website to store average ratings.

CAUTION    The XML file is not a very efficient way to store average ratings, so if scaleability is an issue it is better to use the SlickRater control and a database. Also data may be lost if your website crashes, since the XML file is stored in the Cache object at set intervals.

Requirements

Namespace: KrispWare

Assembly: SlickRater (in SlickRater.dll)

See Also

AutoSlickRater Members | KrispWare Namespace