C# Class RockWeb.Blocks.Groups.GroupFinder

Inheritance: Rock.Web.UI.RockBlockCustomSettings
Mostrar archivo Open project: SparkDevNetwork/Rock

Protected Methods

Method Description
LoadViewState ( object savedState ) : void

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.

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.

SaveViewState ( ) : object

Saves any user control view-state changes that have occurred since the last page postback.

ShowSettings ( ) : void

Shows the settings.

btnClear_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnClear control.

btnSearch_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSearch control.

ddlPageSize_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlPageSize control.

gGroups_RowSelected ( object sender, RowEventArgs e ) : void

Handles the RowSelected event of the gGroups control.

gtpGroupType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the gtpGroupType control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

Private Methods

Method Description
AddFilterControl ( Control control, string name, string description ) : void
BindAttributes ( ) : void

Adds the attribute filters.

BindGroupType ( GroupTypePicker control, List groupTypes, string attributeName ) : void

Binds the type of the group.

Block_Updated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the ContentDynamic control.

BuildDynamicControls ( ) : void

Builds the dynamic controls.

GetGroupTypeGuid ( int groupTypeId ) : string

Gets the group type unique identifier.

GetGroupTypeId ( System.Guid groupTypeGuid ) : int?
Map ( MapItem location, List fences, List groups ) : void

Maps the specified location.

SetGroupTypeOptions ( ) : void

Binds the group attribute list.

ShowError ( string message ) : void
ShowMessage ( string message ) : void
ShowResults ( ) : void

Binds the grid.

ShowView ( ) : void

Shows the view.

ShowViewForPerson ( System.Guid targetPersonGuid ) : void
ShowWarning ( string message ) : void
gGroups_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gGroups control.

registerColumn_Click ( object sender, RowEventArgs e ) : void

Handles the Click event of the registerColumn control.

Method Details

LoadViewState() protected method

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the user control state to be restored.
return void

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

SaveViewState() protected method

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
return object

ShowSettings() protected method

Shows the settings.
protected ShowSettings ( ) : void
return void

btnClear_Click() protected method

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

btnSearch_Click() protected method

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

ddlPageSize_SelectedIndexChanged() protected method

Handles the SelectedIndexChanged event of the ddlPageSize control.
protected ddlPageSize_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

gGroups_RowSelected() protected method

Handles the RowSelected event of the gGroups control.
protected gGroups_RowSelected ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
return void

gtpGroupType_SelectedIndexChanged() protected method

Handles the SelectedIndexChanged event of the gtpGroupType control.
protected gtpGroupType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbSave_Click() protected method

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