default.aspx 1023 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <%@ Page Language="C#" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <script runat="server">
  5. </script>
  6. <html xmlns="http://www.w3.org/1999/xhtml" >
  7. <head runat="server">
  8. <title>UpdatePanel Tutorial</title>
  9. <style type="text/css">
  10. #UpdatePanel1 {
  11. width:300px;
  12. }
  13. </style>
  14. </head>
  15. <body>
  16. <form id="form1" runat="server">
  17. <div>
  18. <asp:ScriptManager ID="ScriptManager1" runat="server">
  19. </asp:ScriptManager>
  20. <asp:UpdatePanel ID="UpdatePanel1" runat="server">
  21. <ContentTemplate>
  22. <fieldset>
  23. <legend>UpdatePanel</legend>
  24. <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
  25. </fieldset>
  26. </ContentTemplate>
  27. </asp:UpdatePanel>
  28. <br />
  29. <asp:Calendar ID="Calendar2" runat="server"></asp:Calendar>
  30. </div>
  31. </form>
  32. </body>
  33. </html>