C# Класс ActivEarth.Groups.CreateGroup

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

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

Свойство Тип Описание
AddHashTagButton global::System.Web.UI.WebControls.Button
CancelButton global::System.Web.UI.WebControls.Button
ClearHashTagsButton global::System.Web.UI.WebControls.Button
CreateGroupButton global::System.Web.UI.WebControls.Button
DescriptionLabel global::System.Web.UI.WebControls.Label
DescriptionRequired global::System.Web.UI.WebControls.RequiredFieldValidator
ErrorMessage global::System.Web.UI.WebControls.Literal
GroupNameLabel global::System.Web.UI.WebControls.Label
GroupNameRequired global::System.Web.UI.WebControls.RequiredFieldValidator
RegisterGroupValidationSummary global::System.Web.UI.WebControls.ValidationSummary
lblAllHashTags global::System.Web.UI.WebControls.Label
lblHashTag global::System.Web.UI.WebControls.Label
lblHashTags global::System.Web.UI.WebControls.Label
txbDescription global::System.Web.UI.WebControls.TextBox
txbGroupName global::System.Web.UI.WebControls.TextBox
txbHashTag global::System.Web.UI.WebControls.TextBox

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

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

Method called when the Add Hashtag Button is clicked. Adds the text in txbHashTag to the list of Hashtags and clears the text in txbHashtag.

Cancel ( object sender, EventArgs e ) : void

Method called when the Cancel Button is clicked. Redirects the user back to the Groups page.

CreateNewGroup ( object sender, EventArgs e ) : void

Method called when the Create Group Button is clicked. Pulls information from the text boxes on the page, adds a welcome message to the Group wall, and inserts the new group into the Database.

Page_Load ( object sender, EventArgs e ) : void

Prepares the list of hashtags when the page loads. Other fields are empty for the new Group. Redirects if the User is not logged in.

RemoveHashTags ( object sender, EventArgs e ) : void

Method called when the Remove Hashtags Button is clicked. Clears the list of Hashtags.

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

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

Method called when the Add Hashtag Button is clicked. Adds the text in txbHashTag to the list of Hashtags and clears the text in txbHashtag.
protected AddHashTag ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Method called when the Cancel Button is clicked. Redirects the user back to the Groups page.
protected Cancel ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Method called when the Create Group Button is clicked. Pulls information from the text boxes on the page, adds a welcome message to the Group wall, and inserts the new group into the Database.
protected CreateNewGroup ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Prepares the list of hashtags when the page loads. Other fields are empty for the new Group. Redirects if the User is not logged in.
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Method called when the Remove Hashtags Button is clicked. Clears the list of Hashtags.
protected RemoveHashTags ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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