C# Class Rock.Reporting.ReportingHelper

Show file Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
BindGrid ( Report report, Rock.Web.UI.Controls.Grid gReport, Person currentPerson, int databaseTimeoutSeconds, string &errorMessage ) : void

Shows the preview.

GetFilterFromControls ( System.Web.UI.WebControls.PlaceHolder phFilters ) : DataViewFilter

Gets the dataviewfilter from the current values in the filter controls

RegisterJavascriptInclude ( FilterField filterField ) : void

Registers the javascript include needed for reporting client controls

Private Methods

Method Description
GetFilterControl ( Control control ) : DataViewFilter

Gets the filter control.

GetFilterFieldControl ( FilterField filterField ) : DataViewFilter

Gets the filter field control.

GetFilterGroupControl ( FilterGroup filterGroup ) : DataViewFilter

Gets the filter group control.

Method Details

BindGrid() public static method

Shows the preview.
public static BindGrid ( Report report, Rock.Web.UI.Controls.Grid gReport, Person currentPerson, int databaseTimeoutSeconds, string &errorMessage ) : void
report Report The report.
gReport Rock.Web.UI.Controls.Grid The g report.
currentPerson Person The current person.
databaseTimeoutSeconds int The database timeout seconds.
errorMessage string The error message.
return void

GetFilterFromControls() public static method

Gets the dataviewfilter from the current values in the filter controls
public static GetFilterFromControls ( System.Web.UI.WebControls.PlaceHolder phFilters ) : DataViewFilter
phFilters System.Web.UI.WebControls.PlaceHolder The ph filters.
return DataViewFilter

RegisterJavascriptInclude() public static method

Registers the javascript include needed for reporting client controls
public static RegisterJavascriptInclude ( FilterField filterField ) : void
filterField Rock.Web.UI.Controls.FilterField The filter field.
return void