C# Class App_Code.Controls.RecentComments

Builds a category list.
Inheritance: System.Web.UI.Control
Show file Open project: rasmuskl/ReSharperCourse

Private Properties

Property Type Description
BindComments List
ClearCache void
PostSaved void
RecentComments System
RenderComments 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
BindComments ( ) : List

Binds the comments.

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

Handles the Saved event of the Post control.

RecentComments ( ) : System

Initializes static members of the RecentComments class.

RenderComments ( ) : string

Renders the comments.

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