You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > ContentReview Class > ContentReview Properties
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ContentReview Properties

The properties of the ContentReview class are listed here.

 
Name 
Description 
 
Gets or Sets the default content ID for this control. This is the content ID that will be rated if the DynamicParameter does not get a value. (e.g. index.aspx?id=2 will get the value 2 for a DynamicParameter of "id", and will display DefaultContentID otherwise.)  
 
Select the type of review to display, or enter the path to a custom XSLT. (optional).
Choices are:
  • Ajax 5 Stars - a five star rating system utilizing Ajax for display.
  • Ajax 5 Stars Comment - a five star rating system utilizing Ajax for display. In addition, when you hover over the stars, a review box pops-up below the stars. Comments that are added are submitted via an Ajax call.
  • Ajax 5 Stars with Increments - a five star rating system with half star increments that utilizes Ajax for display.
  • 5 Stars - a five star rating system that allows... more 
 
To make this content review control dynamic, select id. When you do, this server control is attached to the content block passed as a URL parameter. When using this control to retrieve a user’s reviews, set this property to UserId to make the User’s ID dynamic.  
 
The querystring parameter for which to get the user ID. If a value is found in this parameter, it is used, or the UserID property is used. Important: The GetReviews property must be set to User for the control to use this property.  
 
This property returns a list of reviews for a content item or a specified user. It is used to decide which type of review information is retrieved by the server control. To display reviews on a page, you must use an XSLT that is set up for displaying reviews.  
 
The number of reviews to retrieve if the GetReview property is set to Content or User. 0 (zero) = unlimited results.  
 
Setting this property to True allows CMS400.NET users to moderate reviews.
Additional information on moderating reviews can be found in the Ektron CMS400.NET Administrator Manual section “Managing HTML Content” > “Content Rating”  
 
Sets a minimum number of the reviews and ratings before displaying the average rating.  
 
The user ID for which to get reviews. If left blank, reviews from all users are returned. If a user ID is specified, only reviews for that user are returned.
Important: The GetReviews property must be set to User for the control to use this property.  
 
Returns the Xslt object for the collection.  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!