C# Class RockWeb.Blocks.Reporting.DynamicData

Inheritance: Rock.Web.UI.RockBlockCustomSettings
Mostra file Open project: SparkDevNetwork/Rock

Public Properties

Property Type Description
GridFilterColumnLookup string>.Dictionary

Protected Methods

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

Handles the ApplyFilterClick event of the fDevice control.

DisplayFilterValue ( object sender, GridFilter e ) : void

Displays the text of the current filters

DynamicData_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the DynamicData control.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

ShowSettings ( ) : void

Shows the settings.

gReport_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gReport control.

gReport_RowSelected ( object sender, RowEventArgs e ) : void

Handles the RowSelected event of the gReport control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

Private Methods

Method Description
AddGridColumns ( Rock.Web.UI.Controls.Grid grid, DataTable dataTable ) : void

Adds the grid columns.

BoolToString ( bool b ) : string

Converts bool to string.

BuildControls ( bool setData ) : void

Builds the controls.

FilterTable ( Rock.Web.UI.Controls.Grid grid, DataTable dataTable ) : void

Gets the sorted view.

GetData ( string &errorMessage ) : DataSet

Gets the data.

GetDynamicDataMergeFields ( ) : object>.Dictionary

Gets the dynamic data merge fields.

GetParameters ( ) : object>.Dictionary

Gets the parameters.

SetDataKeyNames ( Rock.Web.UI.Controls.Grid grid, DataTable dataTable ) : void

Sets the data key names.

SortTable ( Rock.Web.UI.Controls.Grid grid, DataTable dataTable ) : void

Gets the sorted view.

StringToBool ( string s ) : bool?

Converts string to bool

Method Details

ApplyFilterClick() protected method

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

DisplayFilterValue() protected method

Displays the text of the current filters
protected DisplayFilterValue ( object sender, GridFilter e ) : void
sender object The sender.
e Rock.Web.UI.Controls.GridFilter The e.
return void

DynamicData_BlockUpdated() protected method

Handles the BlockUpdated event of the DynamicData control.
protected DynamicData_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
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

ShowSettings() protected method

Shows the settings.
protected ShowSettings ( ) : void
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 System.EventArgs The instance containing the event data.
return void

gReport_RowSelected() protected method

Handles the RowSelected event of the gReport control.
protected gReport_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

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

Property Details

GridFilterColumnLookup public_oe property

public Dictionary GridFilterColumnLookup
return string>.Dictionary