C# Класс ActivEarth.Competition.Contests.ContestCreationPage

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
ContestNameLabel global::System.Web.UI.WebControls.Label
ContestNameRequired global::System.Web.UI.WebControls.RequiredFieldValidator
CreateContestButton global::System.Web.UI.WebControls.Button
CreateContestValidationSummary global::System.Web.UI.WebControls.ValidationSummary
ErrorMessage global::System.Web.UI.WebControls.Literal
Label1 global::System.Web.UI.WebControls.Label
ToolKitScript global::AjaxControlToolkit.ToolkitScriptManager
chkContestSearchable global::System.Web.UI.WebControls.CheckBox
contestDescriptionLabel global::System.Web.UI.WebControls.Label
contestEndDateCalender global::AjaxControlToolkit.CalendarExtender
contestEndDateLabel global::System.Web.UI.WebControls.Label
contestEndDateRequired global::System.Web.UI.WebControls.RequiredFieldValidator
contestEndFormat global::System.Web.UI.WebControls.RegularExpressionValidator
contestEndGoalLabel global::System.Web.UI.WebControls.Label
contestEndsAfterStart global::System.Web.UI.WebControls.CustomValidator
contestModeGoalPanel global::System.Web.UI.WebControls.Panel
contestModeGoalRequired global::System.Web.UI.WebControls.RequiredFieldValidator
contestModeLabel global::System.Web.UI.WebControls.Label
contestModeTimePanel global::System.Web.UI.WebControls.Panel
contestStartAfterToday global::System.Web.UI.WebControls.CustomValidator
contestStartDateCalender global::AjaxControlToolkit.CalendarExtender
contestStartDateLabel global::System.Web.UI.WebControls.Label
contestStartFormat global::System.Web.UI.WebControls.RegularExpressionValidator
contestStartRequired global::System.Web.UI.WebControls.RequiredFieldValidator
contestTypeLabel global::System.Web.UI.WebControls.Label
ddlContestMode global::System.Web.UI.WebControls.DropDownList
ddlContestType global::System.Web.UI.WebControls.DropDownList
ddlStatisticMeasured global::System.Web.UI.WebControls.DropDownList
displayEndDateCalender global::System.Web.UI.WebControls.ImageButton
displayStartDateCalender global::System.Web.UI.WebControls.ImageButton
lblContestSearchable global::System.Web.UI.WebControls.Label
txbContestDescription global::System.Web.UI.WebControls.TextBox
txbContestEndDate global::System.Web.UI.WebControls.TextBox
txbContestEndGoal global::System.Web.UI.WebControls.TextBox
txbContestEndGoalFilter global::AjaxControlToolkit.FilteredTextBoxExtender
txbContestName global::System.Web.UI.WebControls.TextBox
txbContestStartDate global::System.Web.UI.WebControls.TextBox

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

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

Click event for the Create Contest button. Creates a Contest from the user supplied fields.

Page_Load ( object sender, EventArgs e ) : void

Loads the page.

ValidateEndDate ( object source, ServerValidateEventArgs args ) : void

Used to validate that the end date of a contest is on or after the start date.

ValidateStartDate ( object source, ServerValidateEventArgs args ) : void

Used to validate that the start date of a contest is after the current date.

ddlContestMode_SelectedIndexChanged ( object sender, EventArgs e ) : void

Index changed event for contest mode selection. Used to update the user fields when the contest mode is changed.

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

Метод Описание
SetModeDisplay ( ) : void

Updates the display on the page to display the correct Contest end mode entry.

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

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

Click event for the Create Contest button. Creates a Contest from the user supplied fields.
protected CreateContest ( object sender, EventArgs e ) : void
sender object Object that sent the event
e EventArgs The event arguments.
Результат void

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

Loads the page.
protected Page_Load ( object sender, EventArgs e ) : void
sender object Object that requested the page load.
e EventArgs The event arguments.
Результат void

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

Used to validate that the end date of a contest is on or after the start date.
protected ValidateEndDate ( object source, ServerValidateEventArgs args ) : void
source object
args ServerValidateEventArgs
Результат void

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

Used to validate that the start date of a contest is after the current date.
protected ValidateStartDate ( object source, ServerValidateEventArgs args ) : void
source object
args ServerValidateEventArgs
Результат void

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

Index changed event for contest mode selection. Used to update the user fields when the contest mode is changed.
protected ddlContestMode_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object Object that sent the event
e EventArgs The event arguments.
Результат void

Описание свойств

ContestNameLabel защищенное свойство

ContestNameLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label ContestNameLabel
Результат global::System.Web.UI.WebControls.Label

ContestNameRequired защищенное свойство

ContestNameRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator ContestNameRequired
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

CreateContestButton защищенное свойство

CreateContestButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button CreateContestButton
Результат global::System.Web.UI.WebControls.Button

CreateContestValidationSummary защищенное свойство

CreateContestValidationSummary control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ValidationSummary CreateContestValidationSummary
Результат global::System.Web.UI.WebControls.ValidationSummary

ErrorMessage защищенное свойство

ErrorMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ErrorMessage
Результат global::System.Web.UI.WebControls.Literal

Label1 защищенное свойство

Label1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label Label1
Результат global::System.Web.UI.WebControls.Label

ToolKitScript защищенное свойство

ToolKitScript control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::AjaxControlToolkit.ToolkitScriptManager ToolKitScript
Результат global::AjaxControlToolkit.ToolkitScriptManager

chkContestSearchable защищенное свойство

chkContestSearchable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox chkContestSearchable
Результат global::System.Web.UI.WebControls.CheckBox

contestDescriptionLabel защищенное свойство

contestDescriptionLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestDescriptionLabel
Результат global::System.Web.UI.WebControls.Label

contestEndDateCalender защищенное свойство

contestEndDateCalender control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::AjaxControlToolkit.CalendarExtender contestEndDateCalender
Результат global::AjaxControlToolkit.CalendarExtender

contestEndDateLabel защищенное свойство

contestEndDateLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestEndDateLabel
Результат global::System.Web.UI.WebControls.Label

contestEndDateRequired защищенное свойство

contestEndDateRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator contestEndDateRequired
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

contestEndFormat защищенное свойство

contestEndFormat control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator contestEndFormat
Результат global::System.Web.UI.WebControls.RegularExpressionValidator

contestEndGoalLabel защищенное свойство

contestEndGoalLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestEndGoalLabel
Результат global::System.Web.UI.WebControls.Label

contestEndsAfterStart защищенное свойство

contestEndsAfterStart control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator contestEndsAfterStart
Результат global::System.Web.UI.WebControls.CustomValidator

contestModeGoalPanel защищенное свойство

contestModeGoalPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel contestModeGoalPanel
Результат global::System.Web.UI.WebControls.Panel

contestModeGoalRequired защищенное свойство

contestModeGoalRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator contestModeGoalRequired
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

contestModeLabel защищенное свойство

contestModeLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestModeLabel
Результат global::System.Web.UI.WebControls.Label

contestModeTimePanel защищенное свойство

contestModeTimePanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel contestModeTimePanel
Результат global::System.Web.UI.WebControls.Panel

contestStartAfterToday защищенное свойство

contestStartAfterToday control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator contestStartAfterToday
Результат global::System.Web.UI.WebControls.CustomValidator

contestStartDateCalender защищенное свойство

contestStartDateCalender control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::AjaxControlToolkit.CalendarExtender contestStartDateCalender
Результат global::AjaxControlToolkit.CalendarExtender

contestStartDateLabel защищенное свойство

contestStartDateLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestStartDateLabel
Результат global::System.Web.UI.WebControls.Label

contestStartFormat защищенное свойство

contestStartFormat control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator contestStartFormat
Результат global::System.Web.UI.WebControls.RegularExpressionValidator

contestStartRequired защищенное свойство

contestStartRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator contestStartRequired
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

contestTypeLabel защищенное свойство

contestTypeLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestTypeLabel
Результат global::System.Web.UI.WebControls.Label

ddlContestMode защищенное свойство

ddlContestMode control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList ddlContestMode
Результат global::System.Web.UI.WebControls.DropDownList

ddlContestType защищенное свойство

ddlContestType control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList ddlContestType
Результат global::System.Web.UI.WebControls.DropDownList

ddlStatisticMeasured защищенное свойство

ddlStatisticMeasured control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList ddlStatisticMeasured
Результат global::System.Web.UI.WebControls.DropDownList

displayEndDateCalender защищенное свойство

displayEndDateCalender control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ImageButton displayEndDateCalender
Результат global::System.Web.UI.WebControls.ImageButton

displayStartDateCalender защищенное свойство

displayStartDateCalender control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ImageButton displayStartDateCalender
Результат global::System.Web.UI.WebControls.ImageButton

lblContestSearchable защищенное свойство

lblContestSearchable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblContestSearchable
Результат global::System.Web.UI.WebControls.Label

txbContestDescription защищенное свойство

txbContestDescription control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestDescription
Результат global::System.Web.UI.WebControls.TextBox

txbContestEndDate защищенное свойство

txbContestEndDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestEndDate
Результат global::System.Web.UI.WebControls.TextBox

txbContestEndGoal защищенное свойство

txbContestEndGoal control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestEndGoal
Результат global::System.Web.UI.WebControls.TextBox

txbContestEndGoalFilter защищенное свойство

txbContestEndGoalFilter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::AjaxControlToolkit.FilteredTextBoxExtender txbContestEndGoalFilter
Результат global::AjaxControlToolkit.FilteredTextBoxExtender

txbContestName защищенное свойство

txbContestName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestName
Результат global::System.Web.UI.WebControls.TextBox

txbContestStartDate защищенное свойство

txbContestStartDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestStartDate
Результат global::System.Web.UI.WebControls.TextBox