C# Class ActivEarth.Groups.GroupsSearch

Mostra file Open project: mlcamilli/ActivEarth

Protected Properties

Property Type Description
SearchButton global::System.Web.UI.WebControls.Button
SearchGroupsDisplayTable1 global::ActivEarth.Groups.GroupsDisplayTable
searchBox global::System.Web.UI.WebControls.TextBox

Protected Methods

Method Description
ListUnion_NoRepeats ( List list1, List list2 ) : List

Returns the Union of the two List of Groups, with no repeating Groups. Each search term is separately queried and this method combines those lists.

Page_Load ( object sender, EventArgs e ) : void

Prepares the relevant group table to display when the page loads. Redirects the user if they have not signed in or if a search term has not been provided.

SearchGroups ( object sender, EventArgs e ) : void

Method called when the Search button is clicked. Redirects the user to a new Search page using the text in the searchBox as the search term.

Method Details

ListUnion_NoRepeats() protected method

Returns the Union of the two List of Groups, with no repeating Groups. Each search term is separately queried and this method combines those lists.
protected ListUnion_NoRepeats ( List list1, List list2 ) : List
list1 List The list of Groups for the first search term
list2 List The list of Groups for the second search term
return List

Page_Load() protected method

Prepares the relevant group table to display when the page loads. Redirects the user if they have not signed in or if a search term has not been provided.
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

SearchGroups() protected method

Method called when the Search button is clicked. Redirects the user to a new Search page using the text in the searchBox as the search term.
protected SearchGroups ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

SearchButton protected_oe property

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

SearchGroupsDisplayTable1 protected_oe property

SearchGroupsDisplayTable1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ActivEarth.Groups.GroupsDisplayTable SearchGroupsDisplayTable1
return global::ActivEarth.Groups.GroupsDisplayTable

searchBox protected_oe property

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