jingh
2021-04-05 86de09ce79c7db0cbb88ea2165530143a2ebcfbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<%@ Page Language="C#" Title="注册外部登录" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RegisterExternalLogin.aspx.cs" Inherits="CLOUDWEB.Account.RegisterExternalLogin" %>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <hgroup class="title">
        <h1>使用你的 <%: ProviderDisplayName %> 帐户注册</h1>
        <h2><%: ProviderUserName %>.</h2>
    </hgroup>
 
    
    <asp:Label runat="server" ID="providerMessage" CssClass="field-validation-error" />
    
 
    <asp:PlaceHolder runat="server" ID="userNameForm">
        <fieldset>
            <legend>关联表单</legend>
            <p>
                你已作为 <strong><%: ProviderUserName %></strong>,使用名称 <strong><%: ProviderDisplayName %></strong>
                进行身份验证。请在下面输入当前站点的用户名,
                然后单击“登录”按钮。
            </p>
            <ol>
                <li class="email">
                    <asp:Label runat="server" AssociatedControlID="userName">用户名</asp:Label>
                    <asp:TextBox runat="server" ID="userName" />
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="userName"
                        Display="Dynamic" ErrorMessage="必须填写用户名" ValidationGroup="NewUser" />
                    
                    <asp:Label runat="server" ID="userNameMessage" CssClass="field-validation-error" />
                    
                </li>
            </ol>
            <asp:Button runat="server" Text="登录" ValidationGroup="NewUser" OnClick="logIn_Click" />
            <asp:Button runat="server" Text="取消" CausesValidation="false" OnClick="cancel_Click" />
        </fieldset>
    </asp:PlaceHolder>
</asp:Content>