C# Class Sitecore.Modules.WeBlog.WebForms.Layouts.BlogSubmitComment

Datei anzeigen Open project: WeTeam/WeBlog

Protected Properties

Property Type Description
CommentScroll global::System.Web.UI.WebControls.PlaceHolder
CommentsPanel global::System.Web.UI.WebControls.Panel
Message global::System.Web.UI.WebControls.Literal
MessagePanel global::System.Web.UI.WebControls.Panel
ValidationSummaryComments global::System.Web.UI.WebControls.ValidationSummary
buttonSaveComment global::System.Web.UI.WebControls.Button
lblCommentEmail global::System.Web.UI.WebControls.Label
lblCommentName global::System.Web.UI.WebControls.Label
lblCommentText global::System.Web.UI.WebControls.Label
lblCommentWebsite global::System.Web.UI.WebControls.Label
rfvCommentEmail global::System.Web.UI.WebControls.RequiredFieldValidator
rfvCommentName global::System.Web.UI.WebControls.RequiredFieldValidator
rfvCommentText global::System.Web.UI.WebControls.RequiredFieldValidator
txtCommentEmail global::System.Web.UI.WebControls.TextBox
txtCommentName global::System.Web.UI.WebControls.TextBox
txtCommentText global::System.Web.UI.WebControls.TextBox
txtCommentWebsite global::System.Web.UI.WebControls.TextBox

Public Methods

Method Description
BlogSubmitComment ( ISubmitCommentCore submitCommentCore = null ) : System

Protected Methods

Method Description
GetFormValue ( TextBox textBox ) : string
LoadEntry ( ) : void
Page_Load ( object sender, EventArgs e ) : void
SetErrorMessage ( string message ) : void

Display an error message on the UI

SetSuccessMessage ( string message ) : void

Display a success message on the UI

buttonSaveComment_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
ResetCommentFields ( ) : void

Method Details

BlogSubmitComment() public method

public BlogSubmitComment ( ISubmitCommentCore submitCommentCore = null ) : System
submitCommentCore ISubmitCommentCore
return System

GetFormValue() protected method

protected GetFormValue ( TextBox textBox ) : string
textBox TextBox
return string

LoadEntry() protected method

protected LoadEntry ( ) : void
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

SetErrorMessage() protected method

Display an error message on the UI
protected SetErrorMessage ( string message ) : void
message string The message to display
return void

SetSuccessMessage() protected method

Display a success message on the UI
protected SetSuccessMessage ( string message ) : void
message string
return void

buttonSaveComment_Click() protected method

protected buttonSaveComment_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

CommentScroll protected_oe property

CommentScroll control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.PlaceHolder CommentScroll
return global::System.Web.UI.WebControls.PlaceHolder

CommentsPanel protected_oe property

CommentsPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel CommentsPanel
return global::System.Web.UI.WebControls.Panel

Message protected_oe property

Message control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal Message
return global::System.Web.UI.WebControls.Literal

MessagePanel protected_oe property

MessagePanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel MessagePanel
return global::System.Web.UI.WebControls.Panel

ValidationSummaryComments protected_oe property

ValidationSummaryComments control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummaryComments
return global::System.Web.UI.WebControls.ValidationSummary

buttonSaveComment protected_oe property

buttonSaveComment control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button buttonSaveComment
return global::System.Web.UI.WebControls.Button

lblCommentEmail protected_oe property

lblCommentEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCommentEmail
return global::System.Web.UI.WebControls.Label

lblCommentName protected_oe property

lblCommentName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCommentName
return global::System.Web.UI.WebControls.Label

lblCommentText protected_oe property

lblCommentText control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCommentText
return global::System.Web.UI.WebControls.Label

lblCommentWebsite protected_oe property

lblCommentWebsite control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCommentWebsite
return global::System.Web.UI.WebControls.Label

rfvCommentEmail protected_oe property

rfvCommentEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvCommentEmail
return global::System.Web.UI.WebControls.RequiredFieldValidator

rfvCommentName protected_oe property

rfvCommentName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvCommentName
return global::System.Web.UI.WebControls.RequiredFieldValidator

rfvCommentText protected_oe property

rfvCommentText control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvCommentText
return global::System.Web.UI.WebControls.RequiredFieldValidator

txtCommentEmail protected_oe property

txtCommentEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCommentEmail
return global::System.Web.UI.WebControls.TextBox

txtCommentName protected_oe property

txtCommentName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCommentName
return global::System.Web.UI.WebControls.TextBox

txtCommentText protected_oe property

txtCommentText control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCommentText
return global::System.Web.UI.WebControls.TextBox

txtCommentWebsite protected_oe property

txtCommentWebsite control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCommentWebsite
return global::System.Web.UI.WebControls.TextBox