C# Класс RockWeb.Blocks.Follow.EventDetail

Наследование: Rock.Web.UI.RockBlock, IDetailBlock
Показать файл Открыть проект

Открытые методы

Метод Описание
ShowDetail ( int eventId ) : void

Shows the detail.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

LoadViewState() защищенный Метод

protected LoadViewState ( object savedState ) : void
savedState object
Результат void

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

SaveViewState() защищенный Метод

protected SaveViewState ( ) : object
Результат object

ShowDetail() публичный Метод

Shows the detail.
public ShowDetail ( int eventId ) : void
eventId int The event identifier.
Результат void

btnCancel_Click() защищенный Метод

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.
Результат void

btnSave_Click() защищенный Метод

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.
Результат void

cpEventType_SelectedIndexChanged() защищенный Метод

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.
Результат void