ControlBuilder.Init Method

Initializes the ControlBuilder for use after it is instantiated. This method is called by the ASP.NET page framework.

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

public:
virtual void Init (
	TemplateParser^ parser, 
	ControlBuilder^ parentBuilder, 
	Type^ type, 
	String^ tagName, 
	String^ id, 
	IDictionary^ attribs
)
public void Init (
	TemplateParser parser, 
	ControlBuilder parentBuilder, 
	Type type, 
	String tagName, 
	String id, 
	IDictionary attribs
)
public function Init (
	parser : TemplateParser, 
	parentBuilder : ControlBuilder, 
	type : Type, 
	tagName : String, 
	id : String, 
	attribs : IDictionary
)
Not applicable.

Parameters

parser

The TemplateParser object responsible for parsing the control.

parentBuilder

The ControlBuilder object responsible for building the parent control.

type

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

tagName

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

id

The ID attribute assigned to the control.

attribs

The IDictionary object that holds all the specified tag attributes.

This method is called by the ASP.NET page framework during parsing and is not intended to be called directly in you code.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: