New test.
[mono.git] / mcs / class / System.Web / Test / mainsoft / MainsoftWebApp20 / LoginViewTest1.aspx
1 <%@ Page Language="C#" AutoEventWireup="true" Codebehind="MyPage.aspx.cs" Inherits="MyPage" %>\r
2 \r
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
4 \r
5 <html xmlns="http://www.w3.org/1999/xhtml" >\r
6 <head runat="server">\r
7     <title>Untitled Page</title>\r
8 </head>\r
9 <body>\r
10     <form id="form1" runat="server">\r
11     <div>\r
12         <asp:LoginView ID="LoginView1" runat="server">\r
13         <LoggedInTemplate>\r
14           <br />\r
15           You are logged in as\r
16           <asp:LoginName ID="LoginName1" runat="server" />\r
17           .<br />\r
18           <br />\r
19           <asp:LoginStatus ID="LoginStatus1" runat="server" />\r
20         </LoggedInTemplate>\r
21         <AnonymousTemplate>\r
22           <strong>You are not logged in. Please Login.<br />\r
23           </strong>\r
24           <br />\r
25           <asp:Login ID="Login1" DestinationPageUrl="~/LoginViewTest1.aspx" runat="server" MembershipProvider="FakeProvider" BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderPadding="4"\r
26             BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" ForeColor="#333333">\r
27             <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" \r
28                ForeColor="White" />\r
29             <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"\r
30               Font-Names="Verdana" ForeColor="#284E98" />\r
31             <InstructionTextStyle Font-Italic="True" ForeColor="Black" />\r
32           </asp:Login>\r
33         </AnonymousTemplate>\r
34       </asp:LoginView>\r
35     </div>\r
36     </form>\r
37 </body>\r
38 </html>\r