C# Class MichaelJBaird.Themes.JQMobile.SearchPage

Inheritance: BlogEngine.Core.Web.Controls.BlogBasePage
Exibir arquivo Open project: rasmuskl/ReSharperCourse

Protected Methods

Method Description
GetContent ( string description, string content ) : string

Shortens the content to fit to a search result

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event. Adds links and javascript to the HTML header tag.

ShortenUrl ( string uri ) : string

Removes the comment anchor from the URL

Private Methods

Method Description
AddHeader ( ) : void

Adds the header.

BindPaging ( int results, int page ) : void

Binds the paging.

BindSearchResult ( List list ) : void

Binds the search result.

SearchByApml ( Uri url ) : void

Searches the by apml.

rep_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Handles the ItemDataBound event of the rep control.

Method Details

GetContent() protected method

Shortens the content to fit to a search result
protected GetContent ( string description, string content ) : string
description string
content string
return string

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event. Adds links and javascript to the HTML header tag.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
return void

ShortenUrl() protected method

Removes the comment anchor from the URL
protected ShortenUrl ( string uri ) : string
uri string
return string