C# Class RockWeb.Blocks.Reporting.ReportDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
ShowDetail ( int reportId ) : void

Shows the detail.

ShowDetail ( int reportId, int parentCategoryId ) : void

Shows the detail.

ShowEditDetails ( Report report ) : void

Shows the edit.

Méthodes protégées

Méthode Description
FieldsPanelWidget_DeleteClick ( object sender, EventArgs e ) : void

Handles the DeleteClick event of the FieldsPanelWidget control.

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.

OnPreRender ( EventArgs e ) : void

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

btnAddField_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnAddField control.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnCopy_Click ( object sender, EventArgs e ) : void

Handles the Click event of the Copy button control.

btnDelete_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDelete control.

btnEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnEdit control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

btnToggleResults_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnToggleResults control.

ddlFields_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlFields control.

etpEntityType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the etpEntityType control.

gReport_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gReport control.

lbDataView_Click ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
AddFieldPanelWidget ( System.Guid reportFieldGuid, ReportFieldType reportFieldType, string fieldSelection, bool showExpanded, RockContext rockContext, bool setReportFieldValues = false, ReportField reportField = null ) : void

Adds the field panel widget.

BindGrid ( Report report ) : void

Binds the grid.

CreateFieldTypeSpecificControls ( ReportFieldType reportFieldType, string fieldSelection, PanelWidget panelWidget, RockContext rockContext ) : void

Creates the data select controls.

GetDataSelectComponent ( RockContext rockContext, int dataSelectComponentId ) : DataSelectComponent

Creates a DataSelectComponent instance from a unique identifier.

GetSelectedFieldTypeSelection ( RockDropDownList ddlFields ) : FieldTypeSelection

Gets the selected field type select.

IsAuthorizedForAllReportComponents ( string reportAction, Report report, RockContext rockContext, string &authorizationMessage ) : bool

Determines whether [is authorized for all report components] [the specified report].

LoadDropDowns ( ) : void

Loads the drop downs.

LoadDropdownsForEntityType ( int entityTypeId ) : void

Loads the DataView and Fields dropdowns based on the selected EntityType

LoadFieldsDropDown ( RockDropDownList ddlFields ) : void

Loads the fields drop down.

PopulateFieldPanelWidget ( PanelWidget panelWidget, ReportField reportField, ReportFieldType reportFieldType, string fieldSelection, RockContext rockContext ) : void

Populates the field panel widget.

SelectedFieldTypeSupportsSorting ( PanelWidget panelWidget ) : bool

Selecteds the field type supports sorting.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowReadonlyDetails ( Report report ) : void

Shows the readonly details.

SortPanelWidgets ( string eventParam, string values ) : void

Sorts the panel widgets.

Method Details

FieldsPanelWidget_DeleteClick() protected méthode

Handles the DeleteClick event of the FieldsPanelWidget control.
protected FieldsPanelWidget_DeleteClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

OnPreRender() protected méthode

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int reportId ) : void
reportId int The report identifier.
Résultat void

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int reportId, int parentCategoryId ) : void
reportId int The report identifier.
parentCategoryId int The parent category id.
Résultat void

ShowEditDetails() public méthode

Shows the edit.
public ShowEditDetails ( Report report ) : void
report Report The data view.
Résultat void

btnAddField_Click() protected méthode

Handles the Click event of the btnAddField control.
protected btnAddField_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnCancel_Click() protected méthode

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnCopy_Click() protected méthode

Handles the Click event of the Copy button control.
protected btnCopy_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnDelete_Click() protected méthode

Handles the Click event of the btnDelete control.
protected btnDelete_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnEdit_Click() protected méthode

Handles the Click event of the btnEdit control.
protected btnEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnSave_Click() protected méthode

Handles the Click event of the btnSave control.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnToggleResults_Click() protected méthode

Handles the Click event of the btnToggleResults control.
protected btnToggleResults_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

ddlFields_SelectedIndexChanged() protected méthode

Handles the SelectedIndexChanged event of the ddlFields control.
protected ddlFields_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

etpEntityType_SelectedIndexChanged() protected méthode

Handles the SelectedIndexChanged event of the etpEntityType control.
protected etpEntityType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

gReport_GridRebind() protected méthode

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.
Résultat void

lbDataView_Click() protected méthode

protected lbDataView_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void