C# Class Engage.Dnn.Publish.CategoryControls.CategorySearch

Inheritance: ModuleBase, IActionable
Mostrar archivo Open project: EngageSoftware/Engage-Publish

Protected Properties

Property Type Description
btnCategorySearch global::System.Web.UI.WebControls.LinkButton
ddlCategoryList global::System.Web.UI.WebControls.DropDownList
dgResults global::System.Web.UI.WebControls.DataGrid
divSearchCategorySelection global::System.Web.UI.HtmlControls.HtmlGenericControl
divSearchField global::System.Web.UI.HtmlControls.HtmlGenericControl
divSearchResults global::System.Web.UI.HtmlControls.HtmlGenericControl
lblCategoryList global::System.Web.UI.WebControls.Label
lblCategorySearch global::DotNetNuke.UI.UserControls.LabelControl
lblNoResults global::System.Web.UI.WebControls.Label
txtCategorySearch global::System.Web.UI.WebControls.TextBox

Private Properties

Property Type Description
BindData void
BtnCategorySearchClick void
DgResultsItemDataBound void
DgResultsPageIndexChanged void
FormatDate string
Page_Load void
Search DotNetNuke.Services.Search.SearchResultsInfoCollection

Public Methods

Method Description
FormatRelevance ( int relevance ) : string
FormatUrl ( int tabId, string link ) : string
ShowCategorySelection ( ) : bool
ShowDescription ( ) : bool

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Private Methods

Method Description
BindData ( ) : void
BtnCategorySearchClick ( object sender, EventArgs e ) : void
DgResultsItemDataBound ( object source, System.Web.UI.WebControls.DataGridItemEventArgs e ) : void
DgResultsPageIndexChanged ( object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e ) : void
FormatDate ( string pubDate ) : string
Page_Load ( object sender, EventArgs e ) : void
Search ( int categoryId, string criteria ) : DotNetNuke.Services.Search.SearchResultsInfoCollection

Method Details

FormatRelevance() public method

public FormatRelevance ( int relevance ) : string
relevance int
return string

FormatUrl() public static method

public static FormatUrl ( int tabId, string link ) : string
tabId int
link string
return string

OnInit() protected method

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

ShowCategorySelection() public method

public ShowCategorySelection ( ) : bool
return bool

ShowDescription() public method

public ShowDescription ( ) : bool
return bool

Property Details

btnCategorySearch protected_oe property

btnCategorySearch control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton btnCategorySearch
return global::System.Web.UI.WebControls.LinkButton

ddlCategoryList protected_oe property

ddlCategoryList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList ddlCategoryList
return global::System.Web.UI.WebControls.DropDownList

dgResults protected_oe property

dgResults control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DataGrid dgResults
return global::System.Web.UI.WebControls.DataGrid

divSearchCategorySelection protected_oe property

divSearchCategorySelection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSearchCategorySelection
return global::System.Web.UI.HtmlControls.HtmlGenericControl

divSearchField protected_oe property

divSearchField control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSearchField
return global::System.Web.UI.HtmlControls.HtmlGenericControl

divSearchResults protected_oe property

divSearchResults control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSearchResults
return global::System.Web.UI.HtmlControls.HtmlGenericControl

lblCategoryList protected_oe property

lblCategoryList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCategoryList
return global::System.Web.UI.WebControls.Label

lblCategorySearch protected_oe property

lblCategorySearch control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.LabelControl lblCategorySearch
return global::DotNetNuke.UI.UserControls.LabelControl

lblNoResults protected_oe property

lblNoResults control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblNoResults
return global::System.Web.UI.WebControls.Label

txtCategorySearch protected_oe property

txtCategorySearch control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCategorySearch
return global::System.Web.UI.WebControls.TextBox