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

Summary description for ContentBlock.

C#
[DefaultProperty("DefaultContentID"), ToolboxData("<{0}:ContentBlock runat=server></{0}:ContentBlock>")]
public class ContentBlock : EkXsltWebPart, IEnumerator, IEnumerable, IListSource, IDataSource, ICallbackEventHandler;
Visual Basic
<DefaultProperty("DefaultContentID"), ToolboxData("<{0}:ContentBlock runat=server></{0}:ContentBlock>")>
Public Class ContentBlock
Inherits EkXsltWebPart
Inherits IEnumerator
Inherits IEnumerable
Inherits IListSource
Inherits IDataSource
Inherits ICallbackEventHandler

ContentBlock.cs

Name 
Description 
The methods of the ContentBlock class are listed here. 
The properties of the ContentBlock class are listed here. 
 
Name 
Description 
 
Copies all the elements of the current System.Data.InternalDataCollectionBase to a one-dimensional System.Array, starting at the specified System.Data.InternalDataCollectionBase index.  
 
Fill 
Method that can be overridden and used to grab data from the back end for each server control.  
 
Gets a System.Collections.IEnumerator for the collection.  
 
Moves up the index of the Collection. Returns false if the end of the collection has been surpassed.  
 
Brings the index of the collection back to zero. Does not clear the collection.  
 
this 
Index operator into a strongly typed dataset holding some common properties for a Collection item.  
 
Wraps the resulting collection with the Ektron Toolbars, which will only display when a user is logged in.  
 
Wrap 
Method that can be overridden and used to wrap an Ektron toolbar corresponding to a particular Control around some Html text.  
 
Name 
Description 
 
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).  
 
Indicates the number of elements in your Collection.  
 
Gets the current object in the collection.  
 
Gets or Sets the Default ContentID for this Control.  
 
Gets or Sets the path to an Xslt that can be applied to this content block. Set to String.Empty if you wish to always display the default Content view.  
 
Gets or Sets the QueryString parameter to read a Content ID dynamically. Set to String.Empty if you wish to always display the default ContentID (static.)  
 
Gets the Ektron.Cms.Common.ContentBase for the current Content Block.  
 
Gets a value indicating whether the System.Data.InternalDataCollectionBase is synchronized.  
 
Ektron CMS400.NET allows an Administrator to specify up to three custom Xslt's which can be applied to a content block from the System. This allows the user to override the default ContentBlock Xslt and display one of these custom Xsl transforms, if specified in the system. In addition, you can use the Xslt property to perform a transform on a content block (see Xslt property.)  
 
For use with Web Parts only. Allows a developer to set the starting folder for the personalization/collaboration selection dialog.  
 
Gets an object that can be used to synchronize 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!