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

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

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

Свойство Тип Описание
AddHashTagButton global::System.Web.UI.WebControls.Button
BootMembersButton global::System.Web.UI.WebControls.Button
CancelButton global::System.Web.UI.WebControls.Button
ClearHashTagsButton global::System.Web.UI.WebControls.Button
DeleteButton global::System.Web.UI.WebControls.Button
DescriptionLabel global::System.Web.UI.WebControls.Label
DescriptionRequired global::System.Web.UI.WebControls.RequiredFieldValidator
EditGroupButton global::System.Web.UI.WebControls.Button
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.

BootMembers ( object sender, EventArgs e ) : void

Method called when the Manage Group Members Button is clicked. Redirects the Owner to the Manage Group Members Page.

Cancel ( object sender, EventArgs e ) : void

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

DeleteGroup ( object sender, EventArgs e ) : void

Method called when the Delete Group Button is clicked. Removes the Group from the Database and Redirects the user back to the Groups page.

EditGroupInformation ( object sender, EventArgs e ) : void

Method called when the Save Group Information Button is clicked. Pulls information from the text boxes on the page and updates the group information in the Database.

Page_Load ( object sender, EventArgs e ) : void

Populates the text fields on the page with the Group's current information when the page loads. Redirects if the User is not logged in, the ID of the Group was not provided, or if the User is not the Owner of the Group.

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

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

Method called when the Manage Group Members Button is clicked. Redirects the Owner to the Manage Group Members Page.
protected BootMembers ( object sender, EventArgs e ) : void
sender object
e 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 EventArgs
Результат void

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

Method called when the Delete Group Button is clicked. Removes the Group from the Database and Redirects the user back to the Groups page.
protected DeleteGroup ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

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

Method called when the Save Group Information Button is clicked. Pulls information from the text boxes on the page and updates the group information in the Database.
protected EditGroupInformation ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

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

Populates the text fields on the page with the Group's current information when the page loads. Redirects if the User is not logged in, the ID of the Group was not provided, or if the User is not the Owner of the Group.
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e 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 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

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

BootMembersButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button BootMembersButton
Результат 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

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

DeleteButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button DeleteButton
Результат 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

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

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

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