C# Class Our.Umbraco.DataType.Markdown.WmdControl

The WMD control for the Markdown Editor.
Inheritance: System.Web.UI.WebControls.WebControl
显示文件 Open project: leekelleher/umbraco-markdown

Public Methods

Method Description
WmdControl ( ) : System

Initializes a new instance of the WmdControl class.

Protected Methods

Method Description
CreateChildControls ( ) : void

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.

OnInit ( EventArgs e ) : void

Initialize the control, make sure children are created

OnLoad ( EventArgs e ) : void

Add the resources (sytles/scripts)

RenderContents ( HtmlTextWriter writer ) : void

Renders the contents of the control to the specified writer. This method is used primarily by control developers.

Method Details

CreateChildControls() protected method

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
protected CreateChildControls ( ) : void
return void

OnInit() protected method

Initialize the control, make sure children are created
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

OnLoad() protected method

Add the resources (sytles/scripts)
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
return void

RenderContents() protected method

Renders the contents of the control to the specified writer. This method is used primarily by control developers.
protected RenderContents ( HtmlTextWriter writer ) : void
writer HtmlTextWriter A that represents the output stream to render HTML content on the client.
return void

WmdControl() public method

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