C# Class IndexViewer.SitecoreSearch

Inheritance: System.Web.UI.UserControl
Exibir arquivo Open project: JimmieOverby/IndexViewer

Protected Properties

Property Type Description
ExcludeEmptyField global::System.Web.UI.WebControls.CheckBox
QueryOccurance1 global::IndexViewer.QueryOccurance
QueryOccurance2 global::IndexViewer.QueryOccurance
QueryOccurance3 global::IndexViewer.QueryOccurance
SearchFieldButton global::System.Web.UI.WebControls.Button
SearchResultGrid global::System.Web.UI.WebControls.GridView
SitecoreQueryType1 global::IndexViewer.SitecoreQueryType
SitecoreQueryType2 global::IndexViewer.SitecoreQueryType
SitecoreQueryType3 global::IndexViewer.SitecoreQueryType
TimeElapsedLabel global::System.Web.UI.WebControls.Label
TotalHitsLabel global::System.Web.UI.WebControls.Label
txtExplanation global::System.Web.UI.WebControls.TextBox
txtFieldName1 global::System.Web.UI.WebControls.TextBox
txtFieldName2 global::System.Web.UI.WebControls.TextBox
txtFieldName3 global::System.Web.UI.WebControls.TextBox
txtSearchWord1 global::System.Web.UI.WebControls.TextBox
txtSearchWord2 global::System.Web.UI.WebControls.TextBox
txtSearchWord3 global::System.Web.UI.WebControls.TextBox

Protected Methods

Method Description
Page_PreRender ( object sender, EventArgs e ) : void

Handles the PreRender event of the Page control.

SearchFieldButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the SearchFieldButton control.

SearchResultGrid_PageIndexChanging ( object sender, System.Web.UI.WebControls.GridViewPageEventArgs e ) : void

Handles the PageIndexChanging event of the SearchResultGrid control.

SearchResultGrid_SelectedIndexChanged ( object sender, EventArgs e ) : void

Private Methods

Method Description
DoSearch ( bool explain ) : void
SetSearchInfoValues ( double elapsed, int totalhits ) : void

Sets the search info values.

Method Details

Page_PreRender() protected method

Handles the PreRender event of the Page control.
protected Page_PreRender ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

SearchFieldButton_Click() protected method

Handles the Click event of the SearchFieldButton control.
protected SearchFieldButton_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

SearchResultGrid_PageIndexChanging() protected method

Handles the PageIndexChanging event of the SearchResultGrid control.
protected SearchResultGrid_PageIndexChanging ( object sender, System.Web.UI.WebControls.GridViewPageEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.GridViewPageEventArgs The instance containing the event data.
return void

SearchResultGrid_SelectedIndexChanged() protected method

protected SearchResultGrid_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

ExcludeEmptyField protected_oe property

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

QueryOccurance1 protected_oe property

QueryOccurance1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.QueryOccurance QueryOccurance1
return global::IndexViewer.QueryOccurance

QueryOccurance2 protected_oe property

QueryOccurance2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.QueryOccurance QueryOccurance2
return global::IndexViewer.QueryOccurance

QueryOccurance3 protected_oe property

QueryOccurance3 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.QueryOccurance QueryOccurance3
return global::IndexViewer.QueryOccurance

SearchFieldButton protected_oe property

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

SearchResultGrid protected_oe property

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

SitecoreQueryType1 protected_oe property

SitecoreQueryType1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.SitecoreQueryType SitecoreQueryType1
return global::IndexViewer.SitecoreQueryType

SitecoreQueryType2 protected_oe property

SitecoreQueryType2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.SitecoreQueryType SitecoreQueryType2
return global::IndexViewer.SitecoreQueryType

SitecoreQueryType3 protected_oe property

SitecoreQueryType3 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.SitecoreQueryType SitecoreQueryType3
return global::IndexViewer.SitecoreQueryType

TimeElapsedLabel protected_oe property

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

TotalHitsLabel protected_oe property

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

txtExplanation protected_oe property

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

txtFieldName1 protected_oe property

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

txtFieldName2 protected_oe property

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

txtFieldName3 protected_oe property

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

txtSearchWord1 protected_oe property

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

txtSearchWord2 protected_oe property

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

txtSearchWord3 protected_oe property

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