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

The BlogPost server control allows you to display an individual blog post on a page.

C#
[DefaultProperty("Text")]
[ToolboxData("<{0}:BlogPost runat=server></{0}:BlogPost>")]
public class BlogPost : ContentBlock;
Visual Basic
<DefaultProperty("Text")>
<ToolboxData("<{0}:BlogPost runat=server></{0}:BlogPost>")>
Public Class BlogPost
Inherits ContentBlock

BlogPost.cs

Name 
Description 
The methods of the BlogPost class are listed here. 
The properties of the BlogPost class are listed here. 
 
Name 
Description 
 
Wrap 
Overrideable method that can be used to wrap an Ektron toolbar corresponding to a particular Control around some Html text.  
 
Name 
Description 
 
The ID of a default blog post that appears where you inserted this server control if no other content block is identified, or is not available.  
 
Shows a blog post’s content and its comments or just the blog post’s comments. The default is Content.

  • Content - Show a blog post’s content and its comments.
  • Description - Show a blog post’s comments only.

 

Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!