Login.aspx 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <%@ Page Language="C#" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <%@ Register TagPrefix="Samples"
  4. TagName="AjaxLogin" Src="LoginControl.ascx" %>
  5. <html xmlns="http://www.w3.org/1999/xhtml" >
  6. <head runat="server">
  7. <style type="text/css">
  8. body { font: 11pt Trebuchet MS;
  9. font-color: #000000;
  10. padding-top: 72px;
  11. text-align: center }
  12. .text { font: 8pt Trebuchet MS }
  13. </style>
  14. <title>Login User Control</title>
  15. </head>
  16. <body>
  17. <h2>Login User Control</h2>
  18. <form id="form1" runat="server">
  19. <div>
  20. <asp:ScriptManager runat="server" ID="ScriptManagerId"/>
  21. <Samples:AjaxLogin ID="LoginId" runat="server" />
  22. <span style="font-weight:normal; font-size:medium; color:Black">
  23. Please, use one of the following [username, password]
  24. combinations:<br />
  25. [user1, u$er1] <br/>
  26. [user2, u$er2] <br/>
  27. [user3, u$er3]
  28. </span>
  29. </div>
  30. </form>
  31. <div>
  32. <a href="secured/Default.aspx" target="_top2" >Attempt to access a page
  33. that requires authenticated users.</a>
  34. </div>
  35. </body>
  36. </html>