C# Class SenseNet.Portal.Portlets.FacebookLikePortlet

Display Facebook like button
Inheritance: SenseNet.Portal.UI.PortletFramework.ContextBoundPortlet
Datei anzeigen Open project: maxpavlov/FlexNet

Private Properties

Property Type Description

Public Methods

Method Description
FacebookLikePortlet ( ) : System

Initializes a new instance of the FacebookLikePortlet class.

Protected Methods

Method Description
GenerateLikeButton ( ) : string

Generate IFrame with specified params.

Render ( System writer ) : void

Renders the control to the specified HTML writer.

ReplaceParams ( string rawIFrame ) : string

It replaces the placeholders to specified parameters in the raw IFrame

Method Details

FacebookLikePortlet() public method

Initializes a new instance of the FacebookLikePortlet class.
public FacebookLikePortlet ( ) : System
return System

GenerateLikeButton() protected method

Generate IFrame with specified params.
protected GenerateLikeButton ( ) : string
return string

Render() protected method

Renders the control to the specified HTML writer.
protected Render ( System writer ) : void
writer System The System.Web.UI.HtmlTextWriter object that receives the control content.
return void

ReplaceParams() protected method

It replaces the placeholders to specified parameters in the raw IFrame
protected ReplaceParams ( string rawIFrame ) : string
rawIFrame string The raw Iframe with placeholders
return string