System.Web.UI.WebControls.LoginView Members

The members of System.Web.UI.WebControls.LoginView are listed below.

See Also: Inherited members from System.Web.UI.Control

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.LoginView control.

Public Properties

AnonymousTemplateSystem.Web.UI.ITemplate.

Gets or sets the template to display to users who are not logged in to the Web site.

[read-only]
override
ControlsSystem.Web.UI.ControlCollection.

Gets the System.Web.UI.ControlCollection object that contains the child controls for the System.Web.UI.WebControls.LoginView control.

override
EnableThemingbool.

Gets or sets a value indicating whether themes can be applied to the System.Web.UI.WebControls.LoginView control.

LoggedInTemplateSystem.Web.UI.ITemplate.

Gets or sets the template to display to Web site users who are logged in to the Web site but are not members of one of the role groups specified in the LoginView.RoleGroups property.

[read-only]
RoleGroupsRoleGroupCollection.

Gets a collection of role groups that associate content templates with particular roles.

override
SkinIDstring.

Gets or sets the skin to apply to the System.Web.UI.WebControls.LoginView control.

Public Methods

override
DataBind()

Binds a data source to System.Web.UI.WebControls.LoginView and all its child controls.

override
Focus()

Sets input focus to a control.

Protected Methods

override
CreateChildControls()

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

override
LoadControlState(object)

This method implements System.Web.UI.Control.LoadControlState(object).

override
OnInit(EventArgs)

Raises the System.Web.UI.Control.Init event.

override
OnPreRender(EventArgs)

Determines which role-group template to display, based on the roles of the logged-in user.

OnViewChanged(EventArgs)

Raises the LoginView.ViewChanged event after the System.Web.UI.WebControls.LoginView control switches views.

OnViewChanging(EventArgs)

Raises the LoginView.ViewChanging event before the System.Web.UI.WebControls.LoginView control switches views.

override
Render(System.Web.UI.HtmlTextWriter)

Renders the Web server control content to the client's browser using the specified System.Web.UI.HtmlTextWriter object.

override
SaveControlState() : object

This method implements System.Web.UI.Control.SaveControlState.

override
SetDesignModeState(IDictionary)
Documentation for this section has not yet been entered.

Public Events

ViewChanged

Occurs after the view is changed.

ViewChanging

Occurs before the view is changed.