C# Class RockWeb.Blocks.Finance.BenevolenceRequestDetail

Inheritance: Rock.Web.UI.RockBlock
Mostrar archivo Open project: NewSpring/Rock

Private Properties

Property Type Description
BindDocuments void
BindGridFromViewState void
DlDocuments_ItemDataBound void
LoadDropDowns void

Public Methods

Method Description
ShowDetail ( int benevolenceRequestId ) : void

Shows the detail.

Protected Methods

Method Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

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.

btnAddResults_Click ( object sender, EventArgs e ) : void

Handles the AddClick event of the mdAddResult control.

fileUpDoc_FileRemoved ( object sender, FileUploaderEventArgs e ) : void

Handles the FileRemoved event of the fileUpDoc control.

fileUpDoc_FileUploaded ( object sender, EventArgs e ) : void
gResults_AddClick ( object sender, EventArgs e ) : void

Handles the AddClick event of the gResults control.

gResults_DeleteClick ( object sender, RowEventArgs e ) : void

Handles the DeleteClick event of the gResult control.

gResults_RowSelected ( object sender, RowEventArgs e ) : void

Handles the RowSelected event of the gResults control.

lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancel control.

lbPrint_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbPrint control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

ppPerson_SelectPerson ( object sender, EventArgs e ) : void

Handles the SelectPerson event of the ppPerson control.

Private Methods

Method Description
BindDocuments ( bool canEdit ) : void

Binds the documents.

BindGridFromViewState ( ) : void

Binds the grid.

DlDocuments_ItemDataBound ( object sender, System.Web.UI.WebControls.DataListItemEventArgs e ) : void

Handles the ItemDataBound event of the DlDocuments control.

LoadDropDowns ( BenevolenceRequest benevolenceRequest ) : void

Loads the drop downs.

Method Details

Block_BlockUpdated() protected method

Handles the BlockUpdated event of the control.
protected Block_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

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

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 benevolenceRequestId ) : void
benevolenceRequestId int The benevolence request identifier
return void

btnAddResults_Click() protected method

Handles the AddClick event of the mdAddResult control.
protected btnAddResults_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

fileUpDoc_FileRemoved() protected method

Handles the FileRemoved event of the fileUpDoc control.
protected fileUpDoc_FileRemoved ( object sender, FileUploaderEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.FileUploaderEventArgs The instance containing the event data.
return void

fileUpDoc_FileUploaded() protected method

protected fileUpDoc_FileUploaded ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

gResults_AddClick() protected method

Handles the AddClick event of the gResults control.
protected gResults_AddClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

gResults_DeleteClick() protected method

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

gResults_RowSelected() protected method

Handles the RowSelected event of the gResults control.
protected gResults_RowSelected ( 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

lbCancel_Click() protected method

Handles the Click event of the lbCancel control.
protected lbCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbPrint_Click() protected method

Handles the Click event of the lbPrint control.
protected lbPrint_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbSave_Click() protected method

Handles the Click event of the lbSave control.
protected lbSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

ppPerson_SelectPerson() protected method

Handles the SelectPerson event of the ppPerson control.
protected ppPerson_SelectPerson ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void