提供用于登录到网站的用户界面元素。

<asp:Login
????AccessKey="string"
????BackColor="color name|#dddddd"
????BorderColor="color name|#dddddd"
????BorderPadding="integer"
????BorderStyle="NotSet|None|Dotted|Dashed|Solid|Double|Groove|Ridge|
        Inset|Outset"
????BorderWidth="size"
????CreateUserIconUrl="uri"
????CreateUserText="string"
????CreateUserUrl="uri"
????CssClass="string"
????DestinationPageUrl="uri"
????DisplayRememberMe="True|False"
????Enabled="True|False"
????EnableTheming="True|False"
????EnableViewState="True|False"
????FailureAction="Refresh|RedirectToLoginPage"
????FailureText="string"
????Font-Bold="True|False"
????Font-Italic="True|False"
????Font-Names="string"
????Font-Overline="True|False"
????Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium|
                       Large|X-Large|XX-Large"
????????Font-Strikeout="True|False"
????Font-Underline="True|False"
????ForeColor="color name|#dddddd"
????Height="size"
????HelpPageIconUrl="uri"
????HelpPageText="string"
????HelpPageUrl="uri"
????ID="string"
????InstructionText="string"
????LoginButtonImageUrl="uri"
????LoginButtonText="string"
????LoginButtonType="Button|Image|Link"
????MembershipProvider="string"
????OnAuthenticate="Authenticate event handler"
????OnDataBinding="DataBinding event handler"
????OnDisposed="Disposed event handler"
????OnInit="Init event handler"
????OnLoad="Load event handler"
????OnLoggedIn="LoggedIn event handler"
????OnLoggingIn="LoggingIn event handler"
????OnLoginError="LoginError event handler"
????OnPreRender="PreRender event handler"
????OnUnload="Unload event handler"
????Orientation="Horizontal|Vertical"
????PasswordLabelText="string"
????PasswordRecoveryIconUrl="uri"
????PasswordRecoveryText="string"
????PasswordRecoveryUrl="uri"
????PasswordRequiredErrorMessage="string"
????RememberMeSet="True|False"
????RememberMeText="string"
????runat="server"
????SkinID="string"
????Style="string"
????TabIndex="integer"
????TextLayout="TextOnLeft|TextOnTop"
????TitleText="string"
????ToolTip="string"
????UserName="string"
????UserNameLabelText="string"
????UserNameRequiredErrorMessage="string"
????Visible="True|False"
????VisibleWhenLoggedIn="True|False"
????Width="size"
>
????????<CheckBoxStyle?/>
????????<FailureTextStyle />
????????<HyperLinkStyle />
????????<InstructionTextStyle />
????????<LabelStyle />
????????<LayoutTemplate>
            <!-- child controls -->
????????</LayoutTemplate>
????????<LoginButtonStyle />
????????<TextBoxStyle />
????????<TitleTextStyle />
????????<ValidatorTextStyle />
</asp:Login>

Expand 图像备注

Expand 图像示例

Expand image请参见