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

View component base class.
Inheritance: IScriptableComponent, IHtmlAttributesContainer
Afficher le fichier Open project: juanplopes/simple-telerik

Méthodes publiques

Méthode Description
Render ( ) : void

Renders the component.

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

Writes the cleanup script.

WriteInitializationScript ( TextWriter writer ) : void

Writes the initialization script.

Méthodes protégées

Méthode 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 méthode

Ensures the required settings.
protected EnsureRequired ( ) : void
Résultat void

Render() public méthode

Renders the component.
public Render ( ) : void
Résultat void

ToHtmlString() public méthode

public ToHtmlString ( ) : string
Résultat string

ViewComponentBase() protected méthode

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.
Résultat System

WriteCleanupScript() public méthode

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

WriteHtml() protected méthode

Writes the HTML.
protected WriteHtml ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
Résultat void

WriteInitializationScript() public méthode

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