C# Class RockWeb.Blocks.Follow.EventDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Datei anzeigen Open project: NewSpring/Rock

Public Methods

Method Description
ShowDetail ( int eventId ) : void

Shows the detail.

Protected Methods

Method Description
LoadViewState ( object savedState ) : void
OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

SaveViewState ( ) : object
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.

cpEventType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the cpEventType control.

Private Methods

Method Description
BuildDynamicControls ( FollowingEventType followingEvent, bool SetValues ) : void
SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( FollowingEventType followingEvent ) : void

Shows the edit details.

ShowReadonlyDetails ( FollowingEventType followingEvent ) : void

Shows the readonly details.

Method Details

LoadViewState() protected method

protected LoadViewState ( object savedState ) : void
savedState object
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

protected SaveViewState ( ) : object
return object

ShowDetail() public method

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

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

cpEventType_SelectedIndexChanged() protected method

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