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

The BlogEntries server control allows you to display a list of multiple blog posts on a Web form.

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

BlogEntries.cs

Name 
Description 
The methods of the BlogEntries class are listed here. 
The properties of the BlogEntries class are listed here. 
 
Name 
Description 
 
Fill 
Method that can be overridden and used to grab data from the back end for each server control.  
 
This method returns a blog post RSS feed.  
 
Gets the view data using dataset  
 
gets the view names  
 
Renders the control for output as a string. Use this method to display your controls if you instantiate your control as a component in code behind.  
 
Wrap 
Method that can be overridden and used to wrap an Ektron toolbar corresponding to a particular Control around some Html text.  
 
Name 
Description 
 
The ID of the blog to display when the blog is not associated with a specific user. To display a blog associated with a user, leave this property set to 0 (zero) and enter the user's ID in the DefaultUserID property.  
 
Checks the QueryString for this value and shows the post when specified. Leave blank to always display the blog.  
 
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.  
 
The date of the last blog posts you want to appear. For example, if you want to display blog posts for January 1, 2007 and before, you enter 1/1/2007.  
 
The ID of the user who owns the blog to be displayed. This is used when the server control displays a user's blog. To display a blog not associated with a user, leave this property set to 0 (zero) and enter the blog's ID in the BlogID property.  
 
The Xslt used to render the blog entry list (optional).  
 
Gets or Sets the QueryString parameter to read a Blog ID dynamically. Set to String.Empty if you wish to always display the default Blog (static.)  
 
Gets or sets the QueryString parameter to read a User ID dynamically. Set to String.Empty if you wish to always display the default user's blog (static.)  
 
Sets the height of the blog editor in pixels.  
 
Sets the width of the blog editor in pixels.  
 
Set to True to allow users to edit their posts and replies in HTML.  
 
Set the maximum number of posts to display. The default is -3.

  • If set to 0 (zero), there is no limit.
  • If set to -1, all posts for the day are shown.
  • If set to -2, all post for the month are shown.
  • If set to -3, the control uses the # of Post Visible setting in the Workarea.

 

 
Shows the title and tagline when set to True.  
 
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!