C# Class ExoWeb.Templates.MicrosoftAjax.Control

Represents an attached template control, such as dataview or content.
Inheritance: Element
Show file Open project: vc3/ExoWeb Class Usage Examples

Protected Methods

Method Description
MergeAttribute ( IEnumerable attributes, string name, string>.Func transformValue ) : IEnumerable

Merges the set of attributes defined on the content tag with attributes from the target template.

TryContentTemplate ( AjaxPage page, IEnumerable templateNames, System writer, AttributeBinding &contentTemplateBinding ) : bool
TryRenderIf ( AjaxPage page, IEnumerable templateNames, System writer, AttributeBinding &ifBinding, bool &canRender ) : bool

Private Methods

Method Description
Render ( AjaxPage page, string templateNames, System writer ) : void

Method Details

MergeAttribute() protected method

Merges the set of attributes defined on the content tag with attributes from the target template.
protected MergeAttribute ( IEnumerable attributes, string name, string>.Func transformValue ) : IEnumerable
attributes IEnumerable
name string
transformValue string>.Func
return IEnumerable

TryContentTemplate() protected method

protected TryContentTemplate ( AjaxPage page, IEnumerable templateNames, System writer, AttributeBinding &contentTemplateBinding ) : bool
page AjaxPage
templateNames IEnumerable
writer System
contentTemplateBinding AttributeBinding
return bool

TryRenderIf() protected method

protected TryRenderIf ( AjaxPage page, IEnumerable templateNames, System writer, AttributeBinding &ifBinding, bool &canRender ) : bool
page AjaxPage
templateNames IEnumerable
writer System
ifBinding AttributeBinding
canRender bool
return bool