C# Класс RockWeb.Blocks.Connection.ConnectionRequestDetail

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

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

Метод Описание
GetBreadCrumbs ( PageReference pageReference ) : List

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs

RebindConnectors ( ConnectionRequest connectionRequest, int campusId, RockContext rockContext ) : void

Rebinds the connectors.

ShowDetail ( int connectionRequestId ) : void

Shows the detail.

ShowDetail ( int connectionRequestId, int connectionOpportunityId ) : void

Shows the detail.

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

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

btnAddConnectionRequestActivity_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnAddConnectionRequestActivity control.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

btnSearch_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSearch control.

btnTransferSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnTransferSave control.

ddlCampus_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlCampus control.

dlgSearch_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgSearch control.

gConnectionRequestActivities_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gConnectionRequestActivities control.

gConnectionRequestActivities_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gConnectionRequestActivities control.

gConnectionRequestActivities_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void

Handles the RowDataBound event of the gConnectionRequestActivities control.

gConnectionRequestWorkflows_RowSelected ( object sender, Rock e ) : void

Handles the RowSelected event of the gConnectionRequestWorkflows control.

lbConnect_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbConnect control.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEdit control.

lbTransfer_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbTransfer control.

ppRequestor_SelectPerson ( object sender, EventArgs e ) : void

Handles the SelectPerson event of the ppRequestor control checking for possible duplicate records.

rblState_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the rblState control.

rptRequestWorkflows_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Handles the ItemCommand event of the rptRequestWorkflows control.

rptSearchResult_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Handles the ItemCommand event of the rptSearchResult control.

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

Метод Описание
AddDynamicControls ( ) : void

Adds the attribute columns.

BindAttributes ( ) : void

Binds the attributes.

BindConnectionRequestActivitiesGrid ( ConnectionRequest connectionRequest, RockContext rockContext ) : void

Binds the connection request activities grid.

BindConnectionRequestWorkflowsGrid ( ) : void

Binds the connection request workflows grid.

HideDialog ( ) : void

Hides the dialog.

LaunchWorkflow ( RockContext rockContext, ConnectionRequest connectionRequest, ConnectionWorkflow connectionWorkflow ) : void

Launches the workflow.

ShowActivityDialog ( System.Guid activityGuid ) : void

Shows the activity dialog.

ShowConnectionOpportunityRequirementsStatuses ( ) : void

Shows the connectionOpportunity requirements statuses.

ShowDialog ( bool setValues = false ) : void

Shows the dialog.

ShowDialog ( string dialog, bool setValues = false ) : void

Shows the dialog.

ShowEditDetails ( ConnectionRequest connectionRequest, RockContext rockContext ) : void

Shows the edit details.

ShowErrorMessage ( string title, string message ) : void

Shows the error message.

ShowReadonlyDetails ( ConnectionRequest connectionRequest ) : void

Shows the readonly details.

gConnectionRequestActivities_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gConnectionRequestActivities control.

gConnectionRequestActivities_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gConnectionRequestActivities control.

gConnectionRequestWorkflows_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gConnectionRequestWorkflows control.

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

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

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs
public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference The page reference.
Результат List

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

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

Rebinds the connectors.
public RebindConnectors ( ConnectionRequest connectionRequest, int campusId, RockContext rockContext ) : void
connectionRequest ConnectionRequest The connection request.
campusId int The campus identifier.
rockContext Rock.Data.RockContext The rock context.
Результат 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 connectionRequestId ) : void
connectionRequestId int The connection request identifier.
Результат void

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

Shows the detail.
public ShowDetail ( int connectionRequestId, int connectionOpportunityId ) : void
connectionRequestId int The connection request identifier.
connectionOpportunityId int The connectionOpportunity id.
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

Handles the Delete event of the gConnectionRequestActivities control.
protected gConnectionRequestActivities_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
Результат void

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

Handles the Edit event of the gConnectionRequestActivities control.
protected gConnectionRequestActivities_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
Результат void

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

Handles the RowDataBound event of the gConnectionRequestActivities control.
protected gConnectionRequestActivities_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.GridViewRowEventArgs The instance containing the event data.
Результат void

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

Handles the RowSelected event of the gConnectionRequestWorkflows control.
protected gConnectionRequestWorkflows_RowSelected ( object sender, Rock e ) : void
sender object The source of the event.
e Rock The instance containing the event data.
Результат void

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

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

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

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

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

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

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

Handles the SelectPerson event of the ppRequestor control checking for possible duplicate records.
protected ppRequestor_SelectPerson ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

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

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

Handles the ItemCommand event of the rptRequestWorkflows control.
protected rptRequestWorkflows_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
source object The source of the event.
e System.Web.UI.WebControls.RepeaterCommandEventArgs The instance containing the event data.
Результат void

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

Handles the ItemCommand event of the rptSearchResult control.
protected rptSearchResult_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
source object The source of the event.
e System.Web.UI.WebControls.RepeaterCommandEventArgs The instance containing the event data.
Результат void