C# Class UserControls.PostList

The post list user control.
Inheritance: System.Web.UI.UserControl
Mostra file Open project: rasmuskl/ReSharperCourse

Public Methods

Method Description
PostList ( ) : System

Initializes a new instance of the PostList class.

Protected Methods

Method Description
OnInit ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

Private Methods

Method Description
BindPosts ( ) : void

Binds the list of posts to individual postview.ascx controls from the current theme.

GetPageIndex ( ) : int

Retrieves the current page index based on the QueryString.

InitPaging ( ) : void

Initializes the Next and Previous links

ShowExcerpt ( ) : bool

Whether or not to show the entire post or just the excerpt/description in the post list

Method Details

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs /// The object that contains the event data. ///
return void

PostList() public method

Initializes a new instance of the PostList class.
public PostList ( ) : System
return System