LoginControl

Description
This control renders form elements allowing a user to enter a login name and password. It typically appears in the top frame of a frameset. You can use this control to create a custom login page.

Appearance

Attributes
Name Value
AdminUrl Url for starting page when user is an Administrator.
SalesrepUrl Url for starting page when user is a sales person
CustomerUrl Url for starting page when user is a customer.
In frame mode: mainframe2.aspx?content=home.aspx
Not in frame mode: home.aspx
InFrames "True" if this control is in a FRAME. Default is "False".

Remarks
If the current user has been authenticated, then this control will not be visible.

If InFrames is false, then the Login button click event handler will be redirect the browser to the appropriate Url after validating the login name and password. If InFrames is True, the control will emit client-side javaScript that will open the specified Url in the top level window after the containing page is reloaded in the browser.