Calendar.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:3k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page language="c#" Codebehind="Calendar.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.PM.Calendar" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <html>
  4. <head>
  5. <title>Calendar</title>
  6. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  7. <link href="styles.css" type="text/css" rel="stylesheet">
  8. <script language="javascript">
  9. function CloseWindow()
  10. {
  11. self.close();
  12. }
  13. </script>
  14. </head>
  15. <body bgColor="#ffffff" leftMargin="5" topMargin="5">
  16. <form id="Calendar" method="post" runat="server">
  17. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  18. <tr bgColor="white">
  19. <td colspan="2"><img src="images/spacer.gif" height="10" width="1"></td>
  20. </tr>
  21. <tr bgColor="white">
  22. <td align="middle" colSpan="2">
  23. <asp:dropdownlist id="MonthSelect" runat="server" CssClass="standard-text" Height="22px" Width="90px" AutoPostBack="True"></asp:dropdownlist>&nbsp;
  24. <asp:dropdownlist id="YearSelect" runat="server" CssClass="standard-text" Height="22px" Width="60px" AutoPostBack="True"></asp:dropdownlist>
  25. <asp:calendar id="Cal" runat="server" BorderWidth="5px" ShowTitle="False" ShowNextPrevMonth="False" BorderStyle="Solid" Font-Size="XX-Small" Font-Names="Arial" BorderColor="White" DayNameFormat="FirstTwoLetters" ForeColor="#C0C0FF" FirstDayOfWeek="Monday" CssClass="standard-text">
  26. <todaydaystyle Font-Bold="True" ForeColor="White" BackColor="#990000"></todaydaystyle>
  27. <daystyle BorderWidth="2px" ForeColor="#666666" BorderStyle="Solid" BorderColor="White" BackColor="#EAEAEA"></daystyle>
  28. <dayheaderstyle ForeColor="#649CBA"></dayheaderstyle>
  29. <selecteddaystyle Font-Bold="True" ForeColor="#333333" BackColor="#FAAD50"></selecteddaystyle>
  30. <weekenddaystyle ForeColor="White" BackColor="#BBBBBB"></weekenddaystyle>
  31. <othermonthdaystyle ForeColor="#666666" BackColor="White"></othermonthdaystyle>
  32. </asp:calendar>
  33. </td>
  34. </tr>
  35. <tr>
  36. <td align="middle" colSpan="2">
  37. Date Selected:
  38. <asp:label id="lblDate" runat="server"></asp:label>
  39. <input id="datechosen" type="hidden" name="datechosen" runat="server">
  40. </td>
  41. </tr>
  42. <tr>
  43. <td colspan="2"><img src="images/spacer.gif" height="10" width="1"></td>
  44. </tr>
  45. <tr>
  46. <td align="middle">
  47. <asp:button id="OKButton" runat="server" Text="OK" Width="60px"></asp:button>
  48. </td>
  49. <td align="middle">
  50. <a href="javascript:CloseWindow()">
  51. <asp:button id="CancelButton" runat="server" Text="Cancel" Width="60px"></asp:button>
  52. </a>
  53. </td>
  54. </tr>
  55. </table>
  56. </form>
  57. </body>
  58. </html>