MultiView.OnInit Method (EventArgs)

 
Use BaseTrue

This API supports the product infrastructure and is not intended to be used directly from your code.

Raises the Init event.

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

protected internal override void OnInit(
	EventArgs e
)

Parameters

e
Type: System.EventArgs

An EventArgs object that contains the event data.

When notified by this method, a MultiView control must perform any initialization steps that are required to create and set up an instance. In this stage of the server control's lifecycle, the control's view state has yet to be populated. You cannot access another server control when this method is called, even if it is a child or parent of this control. Other server controls are not certain to be created and ready for access.

.NET Framework
Available since 2.0
Return to top
Show: