C# Class Telerik.Web.Mvc.UI.ViewComponentBase

View component base class.
Inheritance: IScriptableComponent, IHtmlAttributesContainer
Show file Open project: juanplopes/simple-telerik

Public Methods

Method Description
Render ( ) : void

Renders the component.

ToHtmlString ( ) : string
WriteCleanupScript ( TextWriter writer ) : void

Writes the cleanup script.

WriteInitializationScript ( TextWriter writer ) : void

Writes the initialization script.

Protected Methods

Method Description
EnsureRequired ( ) : void

Ensures the required settings.

ViewComponentBase ( System.Web.Mvc.ViewContext viewContext, IClientSideObjectWriterFactory clientSideObjectWriterFactory ) : System

Initializes a new instance of the ViewComponentBase class.

WriteHtml ( System.Web.UI.HtmlTextWriter writer ) : void

Writes the HTML.

Method Details

EnsureRequired() protected method

Ensures the required settings.
protected EnsureRequired ( ) : void
return void

Render() public method

Renders the component.
public Render ( ) : void
return void

ToHtmlString() public method

public ToHtmlString ( ) : string
return string

ViewComponentBase() protected method

Initializes a new instance of the ViewComponentBase class.
protected ViewComponentBase ( System.Web.Mvc.ViewContext viewContext, IClientSideObjectWriterFactory clientSideObjectWriterFactory ) : System
viewContext System.Web.Mvc.ViewContext The view context.
clientSideObjectWriterFactory IClientSideObjectWriterFactory The client side object writer factory.
return System

WriteCleanupScript() public method

Writes the cleanup script.
public WriteCleanupScript ( TextWriter writer ) : void
writer System.IO.TextWriter The writer.
return void

WriteHtml() protected method

Writes the HTML.
protected WriteHtml ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

WriteInitializationScript() public method

Writes the initialization script.
public WriteInitializationScript ( TextWriter writer ) : void
writer System.IO.TextWriter The writer.
return void