C# Класс RockWeb.Blocks.Reporting.ReportDetail

Наследование: Rock.Web.UI.RockBlock, IDetailBlock
Показать файл Открыть проект

Открытые методы

Метод Описание
ShowDetail ( int reportId ) : void

Shows the detail.

ShowDetail ( int reportId, int parentCategoryId ) : void

Shows the detail.

ShowEditDetails ( Report report ) : void

Shows the edit.

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

FieldsPanelWidget_DeleteClick() защищенный Метод

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.
Результат void

OnInit() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

OnPreRender() защищенный Метод

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

ShowDetail() публичный Метод

Shows the detail.
public ShowDetail ( int reportId ) : void
reportId int The report identifier.
Результат void

ShowDetail() публичный Метод

Shows the detail.
public ShowDetail ( int reportId, int parentCategoryId ) : void
reportId int The report identifier.
parentCategoryId int The parent category id.
Результат void

ShowEditDetails() публичный Метод

Shows the edit.
public ShowEditDetails ( Report report ) : void
report Report The data view.
Результат void

btnAddField_Click() защищенный Метод

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.
Результат void

btnCancel_Click() защищенный Метод

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.
Результат void

btnCopy_Click() защищенный Метод

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.
Результат void

btnDelete_Click() защищенный Метод

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.
Результат void

btnEdit_Click() защищенный Метод

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.
Результат void

btnSave_Click() защищенный Метод

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.
Результат void

btnToggleResults_Click() защищенный Метод

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.
Результат void

ddlFields_SelectedIndexChanged() защищенный Метод

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.
Результат void

etpEntityType_SelectedIndexChanged() защищенный Метод

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.
Результат void

gReport_GridRebind() защищенный Метод

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.
Результат void

lbDataView_Click() защищенный Метод

protected lbDataView_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void