C# Class RockWeb.Blocks.Connection.ConnectionRequestDetail

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

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

GetBreadCrumbs() public méthode

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

LoadViewState() protected méthode

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.
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

RebindConnectors() public méthode

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

SaveViewState() protected méthode

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
Résultat object

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int connectionRequestId ) : void
connectionRequestId int The connection request identifier.
Résultat void

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int connectionRequestId, int connectionOpportunityId ) : void
connectionRequestId int The connection request identifier.
connectionOpportunityId int The connectionOpportunity id.
Résultat void

btnAddConnectionRequestActivity_Click() protected méthode

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.
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

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

btnSearch_Click() protected méthode

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

btnTransferSave_Click() protected méthode

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

ddlCampus_SelectedIndexChanged() protected méthode

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

dlgSearch_SaveClick() protected méthode

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

gConnectionRequestActivities_Delete() protected méthode

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

gConnectionRequestActivities_Edit() protected méthode

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

gConnectionRequestActivities_RowDataBound() protected méthode

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

gConnectionRequestWorkflows_RowSelected() protected méthode

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

lbConnect_Click() protected méthode

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

lbEdit_Click() protected méthode

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

lbTransfer_Click() protected méthode

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

ppRequestor_SelectPerson() protected méthode

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

rblState_SelectedIndexChanged() protected méthode

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

rptRequestWorkflows_ItemCommand() protected méthode

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

rptSearchResult_ItemCommand() protected méthode

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