C# Class RockWeb.Blocks.Crm.PersonMerge

Inheritance: Rock.Web.UI.RockBlock
Exibir arquivo Open project: CentralAZ/Rockit-CentralAZ

Private Properties

Property Type Description
BindGrid void
BuildColumns void
GetNewBoolValue bool?
GetNewDateTimeValue DateTime?
GetNewEnumValue System.Enum
GetNewIntValue int?
GetNewStringValue string
GetNewValue PersonPropertyValue
GetValuesColumnHeader string
GetValuesSelection void

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.

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

Handles the RowDataBound event of the gValues control.

lbMerge_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbMerge control.

personCol_OnDelete ( object sender, EventArgs e ) : void

Handles the OnDelete event of the personCol control.

ppAdd_SelectPerson ( object sender, EventArgs e ) : void

Handles the SelectPerson event of the ppAdd control.

Private Methods

Method Description
BindGrid ( ) : void

Binds the values.

BuildColumns ( ) : void

Builds the values columns.

GetNewBoolValue ( string key, List changes ) : bool?
GetNewDateTimeValue ( string key, List changes ) : DateTime?
GetNewEnumValue ( string key, Type enumType, List changes ) : Enum
GetNewIntValue ( string key, List changes ) : int?
GetNewStringValue ( string key, List changes ) : string
GetNewValue ( string key, List changes ) : PersonPropertyValue
GetValuesColumnHeader ( int personId ) : string

Gets the values column header.

GetValuesSelection ( ) : void

Gets the values selection.

Method Details

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

gValues_RowDataBound() protected method

Handles the RowDataBound event of the gValues control.
protected gValues_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

lbMerge_Click() protected method

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

personCol_OnDelete() protected method

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

ppAdd_SelectPerson() protected method

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