CMSBaseProperties - common properties

Property Name

Description

Sample Value

CacheItemName

Name of the cache item the control will use.

 

By setting this name dynamically, you can achieve caching based on URL parameter or some other variable - simply put the value of the parameter to the CacheItemName property. If no value is set, the control stores its content to the item named "URL|ControlID".

"mycachename" + Request.QueryString["id"].ToString()

CacheMinutes

Number of minutes the retrieved content is cached for.

 

Zero indicates that the content will not be cached.

 

-1 indicates the site-level settings should be used.

 

This parameter allows you to set up caching of content so that it's not retrieved from the database each time a user requests the page.

 

The default value is retrieved from Site Settings.

10

ControlTagKey

Overrides the generation of the SPAN tag with custom tag.

 

The default value is retrieved from Site Settings.

 

OrderBy

ORDER BY part of the SQL statement.

"NewsReleaseDate DESC"

SiteName

Site code name.

"mywebsite"

StopProcessing

Indicates if processing of the control should be stopped and the control should not retrieve or display any data.

 

WhereCondition

WHERE part of the SQL statement.

"ProductPrice > 100"