C# Class RockWeb.Blocks.Reporting.DynamicReport

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

Protected Methods

Method Description
BindDataFiltersGrid ( bool selectAll ) : void

Binds the data filters grid in the Settings dialog

Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the Block control.

LoadDropDowns ( ) : void

Loads the drop downs.

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.

ShowFilters ( bool setSelection ) : void

Creates and shows the Filter controls

ShowSettings ( ) : void

Shows the settings.

btnFilterSetDefault_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnFilterSetDefault control.

btnFilter_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnFilter control.

ddlReport_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlReport control.

gReport_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gReport control.

grdDataFilters_RowDataBound ( object sender, GridViewRowEventArgs e ) : void

Handles the RowDataBound event of the grdDataFilters control.

mdConfigure_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdConfigure control.

Private Methods

Method Description
BindReportGrid ( ) : void

Binds the report grid.

CreateFilterControl ( Control parentControl, DataViewFilter filter, EntityType reportEntityType, bool setSelection, List selectedDataFieldGuids, List configurableDataFieldGuids, List togglableDataFieldGuids, RockContext rockContext ) : void

Creates the filter control.

GetFilterListRecursive ( List filterList, DataViewFilter filter, EntityType reportEntityType ) : void

Gets the filter recursive.

GetReportDataKeyPrefix ( ) : string

Gets the key prefix to use for User Preferences for ReportData filters

ShowReport ( ) : void

Shows the report.

Method Details

BindDataFiltersGrid() protected method

Binds the data filters grid in the Settings dialog
protected BindDataFiltersGrid ( bool selectAll ) : void
selectAll bool
return void

Block_BlockUpdated() protected method

Handles the BlockUpdated event of the Block 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

LoadDropDowns() protected method

Loads the drop downs.
protected LoadDropDowns ( ) : void
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

ShowFilters() protected method

Creates and shows the Filter controls
protected ShowFilters ( bool setSelection ) : void
setSelection bool if set to true [set selection].
return void

ShowSettings() protected method

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

btnFilterSetDefault_Click() protected method

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

btnFilter_Click() protected method

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

ddlReport_SelectedIndexChanged() protected method

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

gReport_GridRebind() protected method

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

grdDataFilters_RowDataBound() protected method

Handles the RowDataBound event of the grdDataFilters control.
protected grdDataFilters_RowDataBound ( object sender, GridViewRowEventArgs e ) : void
sender object The source of the event.
e GridViewRowEventArgs The instance containing the event data.
return void

mdConfigure_SaveClick() protected method

Handles the SaveClick event of the mdConfigure control.
protected mdConfigure_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void