Download Ektron CMS400.NET Developer Reference Manual

Transcript
ContentBlock Server Control
Property
Value
Data Type
Authenticated
Indicates if you are logged in to the CMS Explorer and
can use it to browse to Content, Collections, etc. See
Also: ”Using CMS Explorer to Browse Your Ektron
CMS400.NET Site” on page 15
String
CacheInterval
Sets the amount of time the server control’s data is
cached. The default is 0 (zero). This is the amount of
time, in seconds, a control’s data is cached. For
example, if you want to cache the data for five minutes,
you set the CacheInterval property to 300 (three
hundred). See Also: ”Caching with Server Controls” on
page 42.
Integer
DefaultContentID
The ID of a content block that appears where you insert
this server control.
Integer
If you don’t know the ID number of the content block,
use the CMS Explorer to browse to it. See Also: ”Using
CMS Explorer to Browse Your Ektron CMS400.NET
Site” on page 15
Note: If you identify a content block that displays an
Office document which will be published as HTML,
make sure the template sets <span> tags to display the
content as a block.
DisplayXslt
Ignore for a non-XML content block.
String
DynamicParameter
Select None - Use Default. This parameter is used for
dynamic content blocks.
String
Hide
Used to hide a content block in design time and run
time.
Boolean
True = Hide content block
False = Show content block
Language
Set a language for viewing content. The language
property shows results in design-time (in Visual Studio)
and at run-time (in a browser).
Integer
SuppressWrapperTags
Suppresses the output of the span/div tags around the
control. The default is False.
Boolean
True - Suppress wrap tags.
False - Allow wrap tags.
Ektron CMS40 0.NET Deve lope r Re fe re nce Manua l, Version 7.0, Rev 8
109