C# Class RockWeb.Blocks.Finance.GivingAnalytics

Inheritance: Rock.Web.UI.RockBlock
ファイルを表示 Open project: NewSpring/Rock

Public Methods

Method Description
LoadChartAndGrids ( ) : void

Loads the chart and any visible grids

LoadDropDowns ( ) : void

Loads the drop downs.

Protected Methods

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

Handles the BlockUpdated event of the control.

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.

btnApplyGiversFilter_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnApplyGiversFilter control.

btnApply_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnApply control.

btnGraphBy_Click ( object sender, EventArgs e ) : void

Handles the Click events of the GraphBy buttons.

btnGroupBy_Click ( object sender, EventArgs e ) : void

Handles the Click event of the GroupBy buttons

btnShowChart_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnShowChart control.

btnShowDetails_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnShowDetails control.

dvpDataView_SelectedIndexChanged ( object sender, EventArgs e ) : void
gChartAmount_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gAttendance control.

gGiversGifts_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gGiversGifts control.

gGiversGifts_RowSelected ( object sender, RowEventArgs e ) : void
lShowChartAmountGrid_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lShowGrid control.

lcAmount_ChartClick ( object sender, ChartClickArgs e ) : void

Lcs the attendance_ chart click.

Private Methods

Method Description
BindChartAmountGrid ( IEnumerable chartData ) : void

Binds the chart attendance grid.

BindGiversGrid ( ) : void

Binds the attendees grid.

BuildDynamicControls ( ) : void
DisplayShowBy ( ShowBy showBy ) : void

Displays the show by.

GetGivingChartData ( ) : IEnumerable
GetSetting ( string prefix, string key ) : string

Gets the setting.

HideShowDataViewResultOption ( ) : void

Hides the show data view result option.

LoadSettings ( ) : void

Loads the attendance reporting settings from user preferences.

LogAndShowException ( Exception exception ) : void

Logs the and show exception.

SaveSettings ( ) : void

Saves the attendance reporting settings to user preferences.

Method Details

Block_BlockUpdated() protected method

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

LoadChartAndGrids() public method

Loads the chart and any visible grids
public LoadChartAndGrids ( ) : void
return void

LoadDropDowns() public method

Loads the drop downs.
public LoadDropDowns ( ) : void
return void

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

btnApplyGiversFilter_Click() protected method

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

btnApply_Click() protected method

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

btnGraphBy_Click() protected method

Handles the Click events of the GraphBy buttons.
protected btnGraphBy_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

btnGroupBy_Click() protected method

Handles the Click event of the GroupBy buttons
protected btnGroupBy_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

btnShowChart_Click() protected method

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

btnShowDetails_Click() protected method

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

dvpDataView_SelectedIndexChanged() protected method

protected dvpDataView_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

gChartAmount_GridRebind() protected method

Handles the GridRebind event of the gAttendance control.
protected gChartAmount_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

gGiversGifts_GridRebind() protected method

Handles the GridRebind event of the gGiversGifts control.
protected gGiversGifts_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

gGiversGifts_RowSelected() protected method

protected gGiversGifts_RowSelected ( object sender, RowEventArgs e ) : void
sender object
e RowEventArgs
return void

lShowChartAmountGrid_Click() protected method

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

lcAmount_ChartClick() protected method

Lcs the attendance_ chart click.
protected lcAmount_ChartClick ( object sender, ChartClickArgs e ) : void
sender object The sender.
e ChartClickArgs The e.
return void