C# Class RockWeb.Blocks.CheckIn.Config.CheckinTypeDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Mostra file Open project: NewSpring/Rock

Public Methods

Method Description
ShowDetail ( int groupTypeId ) : void

Shows the detail.

Protected Methods

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

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnDelete_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDelete control.

btnEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnEdit control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

btnSchedules_Click ( object sender, EventArgs e ) : void
ddlSearchType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlSearchType control.

ddlType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlType control.

Private Methods

Method Description
BuildAttributeEdits ( GroupType groupType, bool setValues ) : void
LoadDropdowns ( ) : void
SetEditMode ( bool editable ) : void

Sets the edit mode.

SetFieldVisibility ( ) : void
ShowEditDetails ( GroupType groupType ) : void

Shows the edit details.

ShowReadonlyDetails ( GroupType groupType ) : void

Shows the readonly details.

Method Details

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

ShowDetail() public method

Shows the detail.
public ShowDetail ( int groupTypeId ) : void
groupTypeId int The groupType identifier.
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

btnDelete_Click() protected method

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

btnEdit_Click() protected method

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

btnSchedules_Click() protected method

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

ddlSearchType_SelectedIndexChanged() protected method

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

ddlType_SelectedIndexChanged() protected method

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