C# Class App_Code.Controls.RecentPosts

Shows a chronological list of recent posts.
Inheritance: System.Web.UI.Control
Datei anzeigen Open project: rasmuskl/ReSharperCourse

Private Properties

Property Type Description
BuildPostList List
ClearCache void
PostSaved void
RecentPosts System
RenderPosts string

Public Methods

Method Description
RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

Private Methods

Method Description
BuildPostList ( ) : List

Builds the post list.

ClearCache ( object sender, EventArgs e ) : void
PostSaved ( object sender, BlogEngine.Core.SavedEventArgs e ) : void

Handles the Saved event of the Post control.

RecentPosts ( ) : System

Initializes static members of the RecentPosts class.

RenderPosts ( ) : string

Renders the posts.

Method Details

RenderControl() public method

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
return void