System.Web.UI.WebControls.LoginView.CreateChildControls Method

Creates the child controls that make up the System.Web.UI.WebControls.LoginView control.

Syntax

protected override void CreateChildControls ()

Remarks

The LoginView.CreateChildControls method creates the individual controls that make up the System.Web.UI.WebControls.LoginView control. The set of controls created varies according to the content template displayed for the user. For example, when a user is not logged in to the Web site, only the controls contained in the template specified in the LoginView.AnonymousTemplate property are created.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0