C# Class RockWeb.Blocks.Connection.ConnectionRequestDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
显示文件 Open project: SparkDevNetwork/Rock

Public Methods

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

Protected Methods

Method 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

Method 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 method

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

LoadViewState() protected method

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

OnInit() protected method

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

OnLoad() protected method

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

RebindConnectors() public method

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

SaveViewState() protected method

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

ShowDetail() public method

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

ShowDetail() public method

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

btnAddConnectionRequestActivity_Click() protected method

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

btnCancel_Click() protected method

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

btnSave_Click() protected method

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

btnSearch_Click() protected method

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

btnTransferSave_Click() protected method

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

ddlCampus_SelectedIndexChanged() protected method

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

dlgSearch_SaveClick() protected method

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

gConnectionRequestActivities_Delete() protected method

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

gConnectionRequestActivities_Edit() protected method

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

gConnectionRequestActivities_RowDataBound() protected method

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

gConnectionRequestWorkflows_RowSelected() protected method

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

lbConnect_Click() protected method

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

lbEdit_Click() protected method

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

lbTransfer_Click() protected method

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

ppRequestor_SelectPerson() protected method

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

rblState_SelectedIndexChanged() protected method

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

rptRequestWorkflows_ItemCommand() protected method

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

rptSearchResult_ItemCommand() protected method

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