C# Class Subtext.Web.UI.Controls.PostComment

Summary description for Comments.
Inheritance: BaseControl, IEntryControl
Datei anzeigen Open project: ayende/Subtext Class Usage Examples

Private Properties

Property Type Description
CreateFeedbackInstanceFromFormInput Subtext.Framework.Components.FeedbackItem
DisplayResultMessage void
InitializeComponent void
LastDitchValidation void
RemoveCommentControls void
ResetCommentFields void
SetRememberedUserCookie void
SetValidationGroup void
btnSubmit_Click void

Protected Methods

Method Description
OnCommentApproved ( FeedbackItem feedback ) : void

Called when an approved comment is added.

OnInit ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void

Handles the OnLoad event. Attempts to prepopulate comment fields based on the user's cookie.

OnPreRender ( EventArgs e ) : void

Private Methods

Method Description
CreateFeedbackInstanceFromFormInput ( Entry currentEntry ) : FeedbackItem
DisplayResultMessage ( FeedbackItem feedbackItem ) : void
InitializeComponent ( ) : void
LastDitchValidation ( ) : void
RemoveCommentControls ( ) : void
ResetCommentFields ( ) : void
SetRememberedUserCookie ( ) : void
SetValidationGroup ( ) : void
btnSubmit_Click ( object sender, EventArgs e ) : void

Method Details

OnCommentApproved() protected method

Called when an approved comment is added.
protected OnCommentApproved ( FeedbackItem feedback ) : void
feedback Subtext.Framework.Components.FeedbackItem
return void

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnLoad() protected method

Handles the OnLoad event. Attempts to prepopulate comment fields based on the user's cookie.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs E.
return void

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void