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

Afficher le fichier Open project: WeTeam/WeBlog

Protected Properties

Свойство 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

Méthodes publiques

Méthode Description
BlogSubmitComment ( ISubmitCommentCore submitCommentCore = null ) : System

Méthodes protégées

Méthode 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

Méthode Description
ResetCommentFields ( ) : void

Method Details

BlogSubmitComment() public méthode

public BlogSubmitComment ( ISubmitCommentCore submitCommentCore = null ) : System
submitCommentCore ISubmitCommentCore
Résultat System

GetFormValue() protected méthode

protected GetFormValue ( TextBox textBox ) : string
textBox TextBox
Résultat string

LoadEntry() protected méthode

protected LoadEntry ( ) : void
Résultat void

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

SetErrorMessage() protected méthode

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

SetSuccessMessage() protected méthode

Display a success message on the UI
protected SetSuccessMessage ( string message ) : void
message string
Résultat void

buttonSaveComment_Click() protected méthode

protected buttonSaveComment_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat global::System.Web.UI.WebControls.TextBox