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

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

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

Метод Описание
BindDataTransformations ( RockContext rockContext ) : void

Binds the data transformations.

ShowDetail ( int dataViewId ) : void

Shows the detail.

ShowDetail ( int dataViewId, int parentCategoryId ) : void

Shows the detail.

ShowEditDetails ( DataView dataView ) : void

Shows the edit.

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

Метод Описание
LoadViewState ( object savedState ) : void

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.

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.

SaveViewState ( ) : object

Saves any user control view-state changes that have occurred since the last page postback.

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.

btnPreview_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnPreview 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.

etpEntityType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlEntityType control.

filterControl_DeleteClick ( object sender, EventArgs e ) : void

Handles the DeleteClick event of the filterControl control.

gReport_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gReport control.

groupControl_AddFilterClick ( object sender, EventArgs e ) : void

Handles the AddFilterClick event of the groupControl control.

groupControl_AddGroupClick ( object sender, EventArgs e ) : void

Handles the AddGroupClick event of the groupControl control.

groupControl_DeleteGroupClick ( object sender, EventArgs e ) : void

Handles the DeleteGroupClick event of the groupControl control.

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

Метод Описание
BindGrid ( Rock.Web.UI.Controls.Grid grid, DataView dataView, int fetchRowCount = null ) : bool

Binds the grid.

CreateFilterControl ( Control parentControl, DataViewFilter filter, string filteredEntityTypeName, bool setSelection, RockContext rockContext ) : void

Creates the filter control.

CreateFilterControl ( int filteredEntityTypeId, DataViewFilter filter, bool setSelection, RockContext rockContext ) : void

Creates the filter control.

DeleteDataViewFilter ( DataViewFilter dataViewFilter, DataViewFilterService service ) : void

Deletes the data view filter.

LoadDropDowns ( DataView dataView ) : void

Loads the drop downs.

SetEditMode ( bool editable ) : void

Sets the edit mode.

SetNewDataFilterGuids ( DataViewFilter dataViewFilter ) : void

Set the Guids on the datafilter and it's children to Guid.NewGuid

ShowPreview ( DataView dataView ) : void

Shows the preview.

ShowReadonlyDetails ( DataView dataView ) : void

Shows the readonly details.

ShowReport ( DataView dataView ) : void

Shows the report.

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

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

Binds the data transformations.
public BindDataTransformations ( RockContext rockContext ) : void
rockContext Rock.Data.RockContext The rock context.
Результат void

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

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the user control state to be restored.
Результат 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

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

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
Результат object

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

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

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

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

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

Shows the edit.
public ShowEditDetails ( DataView dataView ) : void
dataView DataView The data view.
Результат 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

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

Handles the Click event of the btnPreview control.
protected btnPreview_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

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

Handles the SelectedIndexChanged event of the ddlEntityType 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

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

Handles the DeleteClick event of the filterControl control.
protected filterControl_DeleteClick ( 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

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

Handles the AddFilterClick event of the groupControl control.
protected groupControl_AddFilterClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the AddGroupClick event of the groupControl control.
protected groupControl_AddGroupClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the DeleteGroupClick event of the groupControl control.
protected groupControl_DeleteGroupClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void