C# Класс Engage.Dnn.Events.EventEdit

This class contains a collection of methods for adding or editing an Event.
Наследование: Engage.Dnn.Events.ModuleBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
AllowRegistrationsCheckBox_CheckedChanged void
BindData void
CancelButtonClick void
CancelGoHomeButton_Click void
CapacityMetMessageRadioButtonList_SelectedIndexChanged void
CreateAnotherEventLink_Click void
DeleteAction_Delete void
DisplayFinalSuccess void
FillLists void
GetCustomCapacityMetMessage string
GetEventCapacity int?
GetSelectedCategoryId int
Insert void
LimitRegistrationsCheckBox_CheckedChanged void
Page_Load void
RecurrenceEditorValidator_ServerValidate void
RecurringCheckbox_CheckedChanged void
Save void
SaveAndCreateNewEventButton_Click void
SaveEventButton_Click void
ToIndentedList void
UniqueCategoryNameValidator_ServerValidate void
Update void

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

Метод Описание
OnInit ( EventArgs e ) : void

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

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

Метод Описание
AllowRegistrationsCheckBox_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the AllowRegistrationsCheckBox control.

BindData ( ) : void

Based on an EventId, this method populates the EventEdit user control with the Event's details.

CancelButtonClick ( object sender, EventArgs e ) : void

Handles the Button.Click event of the CancelButton control.

CancelGoHomeButton_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the CancelGoHomeButton control.

CapacityMetMessageRadioButtonList_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the CapacityMetMessageRadioButtonList control.

CreateAnotherEventLink_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the CreateAnotherEventLink control.

DeleteAction_Delete ( object sender, EventArgs e ) : void

Handles the Events.DeleteAction.Delete event of the DeleteAction control.

DisplayFinalSuccess ( ) : void

Displays the final success.

FillLists ( ) : void

Fills the TimeZoneDropDownList and CategoryComboBox.

GetCustomCapacityMetMessage ( ) : string

Gets the custom capacity met message entered for this event.

GetEventCapacity ( ) : int?

Gets the capacity for this event.

GetSelectedCategoryId ( ) : int

Gets the ID of the selected category (create a new category if no existing category was selected).

Insert ( ) : void

Based on the values entered by the user for the event, this method will populate an event object and call the Event object's save method.

LimitRegistrationsCheckBox_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the LimitRegistrationsCheckBox control.

Page_Load ( object sender, EventArgs e ) : void

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

RecurrenceEditorValidator_ServerValidate ( object source, System.Web.UI.WebControls.ServerValidateEventArgs args ) : void

Handles the ServerValidate event of the RecurrenceEditorValidator control.

RecurringCheckbox_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the RecurringCheckBox control.

Save ( ) : void

This method will either update or create an event based on the current context of EventId

SaveAndCreateNewEventButton_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the SaveAndCreateNewEventButton control.

SaveEventButton_Click ( object sender, EventArgs e ) : void

Handles the OnClick event of the SaveEventButton control.

ToIndentedList ( List hierarchicalList, List categories, Engage.Events.Category parentCategory, int level ) : void
UniqueCategoryNameValidator_ServerValidate ( object source, System.Web.UI.WebControls.ServerValidateEventArgs args ) : void

Handles the CustomValidator.ServerValidate event of the UniqueCategoryNameValidator control.

Update ( ) : void

This method is responsible for updating an event which already exists in the data store.

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

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

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