C# Класс Sitecore.Modules.WeBlog.WebForms.Layouts.BlogSubmitComment

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

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

Свойство Тип Описание
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

Открытые методы

Метод Описание
BlogSubmitComment ( ISubmitCommentCore submitCommentCore = null ) : System

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

Метод Описание
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

Приватные методы

Метод Описание
ResetCommentFields ( ) : void

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

BlogSubmitComment() публичный Метод

public BlogSubmitComment ( ISubmitCommentCore submitCommentCore = null ) : System
submitCommentCore ISubmitCommentCore
Результат System

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

protected GetFormValue ( TextBox textBox ) : string
textBox TextBox
Результат string

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

protected LoadEntry ( ) : void
Результат void

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

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

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

Display an error message on the UI
protected SetErrorMessage ( string message ) : void
message string The message to display
Результат void

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

Display a success message on the UI
protected SetSuccessMessage ( string message ) : void
message string
Результат void

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

protected buttonSaveComment_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

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

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

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
Результат global::System.Web.UI.WebControls.PlaceHolder

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

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
Результат global::System.Web.UI.WebControls.Panel

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

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
Результат global::System.Web.UI.WebControls.Literal

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

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
Результат global::System.Web.UI.WebControls.Panel

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

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
Результат global::System.Web.UI.WebControls.ValidationSummary

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

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
Результат global::System.Web.UI.WebControls.Button

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

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
Результат global::System.Web.UI.WebControls.Label

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

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
Результат global::System.Web.UI.WebControls.Label

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

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
Результат global::System.Web.UI.WebControls.Label

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

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
Результат global::System.Web.UI.WebControls.Label

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

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
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

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

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
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

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

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
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

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

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
Результат global::System.Web.UI.WebControls.TextBox

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

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
Результат global::System.Web.UI.WebControls.TextBox

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

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
Результат global::System.Web.UI.WebControls.TextBox

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

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
Результат global::System.Web.UI.WebControls.TextBox