C# Class App_Code.Controls.RelatedPosts

The related posts.
Inheritance: System.Web.UI.Control
Show file Open project: rasmuskl/ReSharperCourse

Private Properties

Property Type Description
CreateList void
PostSaved void
RelatedPosts System

Public Methods

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

Outputs server control content to a provided object and stores tracing information about the control if tracing is enabled.

Private Methods

Method Description
CreateList ( IEnumerable relatedPosts ) : void

Creates the list of related posts in HTML.

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

Handles the Saved event of the Post control.

RelatedPosts ( ) : System

Initializes static members of the RelatedPosts class.

Method Details

RenderControl() public method

Outputs server control content to a provided 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