TemplateBuilder.Init Method (TemplateParser, ControlBuilder, Type, String, String, IDictionary)

 
Use BaseTrue

Initializes the template builder when a Web request is made.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public override void Init(
	TemplateParser parser,
	ControlBuilder parentBuilder,
	Type type,
	string tagName,
	string ID,
	IDictionary attribs
)

Parameters

parser
Type: System.Web.UI.TemplateParser

The TemplateParser responsible for parsing the control.

parentBuilder
Type: System.Web.UI.ControlBuilder

The ControlBuilder responsible for building the control.

type
Type: System.Type

The Type assigned to the control that the builder will create.

tagName
Type: System.String

The name of the tag to build. This allows the builder to support multiple tag types.

ID
Type: System.String

The ID assigned to the control.

attribs
Type: System.Collections.IDictionary

The IDictionary that holds all the specified tag attributes.

.NET Framework
Available since 1.1
Return to top
Show: