C# Class Spring.Web.UI.Controls.Head

This control should be used instead of standard HTML head tag in order to render dynamicaly registered head scripts and stylesheets.
If you need to use ASP.NETs built-in <head> tag, you should nest Spring's Head within ASP.NET's: <html> <head> <title>Some Title</title> <spring:head> <-- will render styleblocks etc. here --> </spring:head> </head> </html>
Inheritance: System.Web.UI.Control
Datei anzeigen Open project: spring-projects/spring-net Class Usage Examples

Private Properties

Property Type Description
RenderCommonScriptAttributes void
RenderHeadScripts void
RenderScriptBlock void
RenderScriptEvent void
RenderScriptFile void
RenderStyleBlocks void
RenderStyleFiles void

Protected Methods

Method Description
Render ( System.Web.UI.HtmlTextWriter writer ) : void

Sends server control content to a provided T:System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.

Private Methods

Method Description
RenderCommonScriptAttributes ( System.Web.UI.HtmlTextWriter writer, Spring.Web.Support.Script script ) : void
RenderHeadScripts ( System.Web.UI.HtmlTextWriter writer ) : void
RenderScriptBlock ( System.Web.UI.HtmlTextWriter writer, Spring.Web.Support.ScriptBlock script ) : void
RenderScriptEvent ( System.Web.UI.HtmlTextWriter writer, Spring.Web.Support.ScriptEvent script ) : void
RenderScriptFile ( System.Web.UI.HtmlTextWriter writer, Spring.Web.Support.ScriptFile script ) : void
RenderStyleBlocks ( System.Web.UI.HtmlTextWriter writer ) : void
RenderStyleFiles ( System.Web.UI.HtmlTextWriter writer ) : void

Method Details

Render() protected method

Sends server control content to a provided T:System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the server control content.
return void