Renders part according to the supplied template.
Available built-in tags:
'TemplateImageFolder'

Namespace: MonoSoftware.MonoX
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual void RenderTemplatedPart(
	Control templateContainer,
	string templateName,
	string template,
	Hashtable tagObjectMappingCollection,
	VelocityContext velocityContext,
	VelocityEngine velocityEngine
)
Visual Basic
Public Overridable Sub RenderTemplatedPart ( 
	templateContainer As Control,
	templateName As String,
	template As String,
	tagObjectMappingCollection As Hashtable,
	velocityContext As VelocityContext,
	velocityEngine As VelocityEngine
)
Visual C++
public:
virtual void RenderTemplatedPart(
	Control^ templateContainer, 
	String^ templateName, 
	String^ template, 
	Hashtable^ tagObjectMappingCollection, 
	VelocityContext^ velocityContext, 
	VelocityEngine^ velocityEngine
)
F#
abstract RenderTemplatedPart : 
        templateContainer : Control * 
        templateName : string * 
        template : string * 
        tagObjectMappingCollection : Hashtable * 
        velocityContext : VelocityContext * 
        velocityEngine : VelocityEngine -> unit 
override RenderTemplatedPart : 
        templateContainer : Control * 
        templateName : string * 
        template : string * 
        tagObjectMappingCollection : Hashtable * 
        velocityContext : VelocityContext * 
        velocityEngine : VelocityEngine -> unit 

Parameters

templateContainer
Type: System.Web.UI..::..Control
Container that holds rendered template
templateName
Type: System..::..String
Template name
template
Type: System..::..String
Template html
tagObjectMappingCollection
Type: System.Collections..::..Hashtable
Tag/Object mapping where tag is replaced with given object
velocityContext
Type: VelocityContext
Velocity context used in more advanced template scenarios. For more information please see http://www.castleproject.org/others/nvelocity/index.html
velocityEngine
Type: VelocityEngine
Velocity engine used in more advanced template scenarios. For more information please see http://www.castleproject.org/others/nvelocity/index.html

See Also