C# Class MichaelJBaird.Themes.JQMobile.Controls.PostList

Inheritance: System.Web.UI.UserControl
Mostrar archivo 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

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

OnLoad ( EventArgs e ) : void

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

Private Methods

Method Description
AddMainHeader ( ) : void

Adds the main header.

BindPager ( List posts ) : void
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.

ShowExcerpt ( ) : bool

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

Method Details

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
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