C# Class User_controls_CommentView, fuse.dotnet.mongodb-blogengine

Inheritance: UserControl, ICallbackEventHandler
Datei anzeigen Open project: tikalk/fuse.dotnet.mongodb-blogengine

Protected Properties

Property Type Description
DefaultName string
NameInputId string

Public Methods

Method Description
BindCountries ( ) : void

Binds the country dropdown list with countries retrieved from the .NET Framework.

GetCallbackResult ( ) : string

Returns the results of a callback event that targets a control.

RaiseCallbackEvent ( string eventArgument ) : void

Processes a callback event that targets a control.

ResolveRegion ( ) : RegionInfo

Resolves the region based on the browser language.

Protected Methods

Method Description
AdminLink ( string id ) : string

Displays a delete link to visitors that is authenticated using the default membership provider.

BBCodes ( ) : string

Displays BBCodes dynamically loaded from settings.

Gravatar ( string email, string name, int size ) : string

Displays the Gravatar image that matches the specified email.

Page_Load ( object sender, EventArgs e ) : void

Private Methods

Method Description
AddNestedComments ( string path, List nestedComments, PlaceHolder phComments ) : void
ApproveAllComments ( ) : void
ApproveComment ( ) : void
CollectCommentToDelete ( Comment, comment, List commentsToDelete ) : void
DeleteComment ( ) : void
DeleteCommentAndChildren ( ) : void
GetCookie ( ) : void

Gets the cookie with visitor information if any is set. Then fills the contact information fields in the form.

SetCookie ( string name, string email, string website, string country ) : void

Sets a cookie with the entered visitor information so it can be prefilled on next visit.

SetFlagImageUrl ( ) : void

Method Details

AdminLink() protected method

Displays a delete link to visitors that is authenticated using the default membership provider.
protected AdminLink ( string id ) : string
id string The id of the comment.
return string

BBCodes() protected method

Displays BBCodes dynamically loaded from settings.
protected BBCodes ( ) : string
return string

BindCountries() public method

Binds the country dropdown list with countries retrieved from the .NET Framework.
public BindCountries ( ) : void
return void

GetCallbackResult() public method

Returns the results of a callback event that targets a control.
public GetCallbackResult ( ) : string
return string

Gravatar() protected method

Displays the Gravatar image that matches the specified email.
protected Gravatar ( string email, string name, int size ) : string
email string
name string
size int
return string

Page_Load() protected method

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

RaiseCallbackEvent() public method

Processes a callback event that targets a control.
public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string A string that represents an event argument to pass to the event handler.
return void

ResolveRegion() public static method

Resolves the region based on the browser language.
public static ResolveRegion ( ) : RegionInfo
return RegionInfo

Property Details

DefaultName protected_oe property

protected string DefaultName
return string

NameInputId protected_oe property

protected string NameInputId
return string