C# 클래스 ActivEarth.Groups.CreateGroup

상속: System.Web.UI.Page
파일 보기 프로젝트 열기: mlcamilli/ActivEarth

보호된 프로퍼티들

프로퍼티 타입 설명
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