System.Web.UI.WebControls.Login Members

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

See Also: Inherited members from System.Web.UI.WebControls.CompositeControl

Public Constructors

Creates a new instance of the System.Web.UI.WebControls.Login control.

Public Fields

static readonly
LoginButtonCommandNamestring.

Represents the command name associated with the login button.

Public Properties

BorderPaddingint.

Gets or sets the amount of padding inside the borders of the System.Web.UI.WebControls.Login control.

[read-only]
CheckBoxStyleTableItemStyle.

Gets a reference to a System.Web.UI.WebControls.Style object that defines the settings for the Remember Me check box.

CreateUserIconUrlstring.

Gets the location of an image to display next to the link to a registration page for new users.

CreateUserTextstring.

Gets or sets the text of a link to a registration page for new users.

CreateUserUrlstring.

Gets or sets the URL of the new-user registration page.

DestinationPageUrlstring.

Gets or sets the URL of the page displayed to the user when a login attempt is successful.

DisplayRememberMebool.

Gets or sets a value indicating whether to display a check box to enable the user to control whether a persistent cookie is sent to their browser.

FailureActionLoginFailureAction.

Gets or sets the action that occurs when a login attempt fails.

FailureTextstring.

Gets or sets the text displayed when a login attempt fails.

[read-only]
FailureTextStyleTableItemStyle.

Gets a reference to a collection of properties that define the appearance of error text in the System.Web.UI.WebControls.Login control.

HelpPageIconUrlstring.

Gets the location of an image to display next to the link to the login Help page.

HelpPageTextstring.

Gets or sets the text of a link to the login Help page.

HelpPageUrlstring.

Gets or sets the URL of the login Help page.

[read-only]
HyperLinkStyleTableItemStyle.

Gets a reference to a collection of properties that define the appearance of hyperlinks in the System.Web.UI.WebControls.Login control.

InstructionTextstring.

Gets or sets login instruction text for the user.

[read-only]
InstructionTextStyleTableItemStyle.

Gets a reference to a System.Web.UI.WebControls.TableItemStyle object that defines the settings for instruction text in the System.Web.UI.WebControls.Login control.

[read-only]
LabelStyleTableItemStyle.

Gets a reference to a System.Web.UI.WebControls.TableItemStyle object that defines the settings for System.Web.UI.WebControls.Login control labels.

LayoutTemplateSystem.Web.UI.ITemplate.

Gets or sets the template used to display the System.Web.UI.WebControls.Login control.

LoginButtonImageUrlstring.

Gets or sets the URL of an image to use for the login button.

[read-only]
LoginButtonStyleStyle.

Gets a reference to the System.Web.UI.WebControls.Style object that allows you to set the appearance of the login button in the System.Web.UI.WebControls.Login control.

LoginButtonTextstring.

Gets or sets the text for the System.Web.UI.WebControls.Login control's login button.

LoginButtonTypeButtonType.

Gets or sets the type of button to use when rendering the System.Web.UI.WebControls.Login button.

MembershipProviderstring.

Gets or sets the name of the membership data provider used by the control.

OrientationOrientation.

Gets or sets a value that specifies the position of the elements of the System.Web.UI.WebControls.Login control on the page.

[read-only]
Passwordstring.

Gets the password entered by the user.

PasswordLabelTextstring.

Gets or sets the text of the label for the Login.Password text box.

PasswordRecoveryIconUrlstring.

Gets the location of an image to display next to the link to the password recovery page.

PasswordRecoveryTextstring.

Gets or sets the text of a link to the password recovery page.

PasswordRecoveryUrlstring.

Gets or sets the URL of the password recovery page.

PasswordRequiredErrorMessagestring.

Gets or sets the error message to display in a System.Web.UI.WebControls.ValidationSummary control when the password field is left blank.

RememberMeSetbool.

Gets or sets a value indicating whether to send a persistent authentication cookie to the user's browser.

RememberMeTextstring.

Gets or sets the text of the label for the Remember Me check box.

[read-only]
TextBoxStyleStyle.

Gets a reference to a collection of properties that define the appearance of text boxes in the System.Web.UI.WebControls.Login control.

TextLayoutLoginTextLayout.

Specifies the position of each label relative to its associated text box for the System.Web.UI.WebControls.Login control.

TitleTextstring.

Gets or sets the title of the System.Web.UI.WebControls.Login control.

[read-only]
TitleTextStyleTableItemStyle.

Gets a reference to a collection of properties that define the appearance of the title text in the System.Web.UI.WebControls.Login control.

UserNamestring.

Gets the user name entered by the user.

UserNameLabelTextstring.

Gets or sets the text of the label for the Login.UserName text box.

UserNameRequiredErrorMessagestring.

Gets or sets the error message to display in a System.Web.UI.WebControls.ValidationSummary control when the user name field is left blank.

[read-only]
ValidatorTextStyleStyle.

Gets a reference to a collection of System.Web.UI.WebControls.Style properties that define the appearance of error messages associated with validators used by the System.Web.UI.WebControls.Login control.

VisibleWhenLoggedInbool.

Gets or sets a value indicating whether to show the System.Web.UI.WebControls.Login control after the user is authenticated.

Protected Properties

[read-only]
override
TagKeySystem.Web.UI.HtmlTextWriterTag.

Gets the System.Web.UI.HtmlTextWriterTag value that corresponds to a System.Web.UI.WebControls.Login control. This property is used primarily by control developers.

Protected Methods

override
CreateChildControls()

Creates the individual controls that make up the System.Web.UI.WebControls.Login control and associates event handlers with their events.

override
LoadViewState(object)
Documentation for this section has not yet been entered.
OnAuthenticate(AuthenticateEventArgs)

Raises the Login.Authenticate event to authenticate the user.

override
OnBubbleEvent(object, EventArgs) : bool

Determines whether to pass an event up the page's user interface (UI) server control hierarchy.

OnLoggedIn(EventArgs)

Raises the Login.LoggedIn event after the user logs in to the Web site and has been authenticated.

OnLoggingIn(LoginCancelEventArgs)

Raises the Login.LoggingIn event when a user submits login information but before the authentication takes place.

OnLoginError(EventArgs)

Raises the Login.LoginError event when a login attempt fails.

override
OnPreRender(EventArgs)

Implements the base System.Web.UI.Control.OnPreRender(EventArgs) method.

override
Render(System.Web.UI.HtmlTextWriter)

Renders the login form using the specified HTML writer.

override
SaveViewState() : object
Documentation for this section has not yet been entered.
override
SetDesignModeState(IDictionary)
Documentation for this section has not yet been entered.
override
TrackViewState()

Overrides the base System.Web.UI.Control.TrackViewState method.

Public Events

Authenticate

Occurs when a user is authenticated.

LoggedIn

Occurs when the user logs in to the Web site and has been authenticated.

LoggingIn

Occurs when a user submits login information, before authentication takes place.

LoginError

Occurs when a login error is detected.