forked from dalbemil/AdvisorBooking
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Calendar.aspx
77 lines (58 loc) · 2.92 KB
/
Calendar.aspx
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<%@ Page Title="" Language="C#" MasterPageFile="~/AdvisorBookingServiceMasterPage.master" AutoEventWireup="true" CodeFile="Calendar.aspx.cs" Inherits="Default3" %>
<script runat=server>
protected void Page_Load(object sender, EventArgs e)
{
//if (Request.QueryString["ID"] == null)
//{
// Server.Transfer("Advisor.aspx");
//}
ronUtil2 get = new ronUtil2(Convert.ToInt16(Request.QueryString["ID"]));
//Label1.Text = "Advisor:" + get.FullName ;
Session["Student"] = 822459053;
lblAdvisorName.Text = get.FullName;
}
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
}
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<form id="form1" runat="server">
<% Session["date"] = Calendar1.SelectedDate.ToString("MM/dd/yyyy"); %> <% Session["ID"] = Request.QueryString["ID"]; %>
<div class="post" id="post-5">
<div class="post-title">
<center>
<h2>
<asp:Label ID="lblAdvisorName" runat="server" Text="Advisor Name"></asp:Label> </h2>
</center>
</div>
<div class="post-entry">
<div class="post-entry-top">
<div class="post-entry-bottom">
<br />
<div style="margin:0 auto; text-align:center; Width:401px">
<asp:Calendar ID="Calendar1" runat="server" BackColor="White"
BorderColor="Black" Font-Names="Times New Roman"
Font-Size="10pt" ForeColor="Black" Height="23px" NextPrevFormat="FullMonth"
Width="401px" ondayrender="Calendar1_DayRender" onprerender="Calendar1_SelectionChanged"
onselectionchanged="Calendar1_SelectionChanged" DayNameFormat="Shortest"
TitleFormat="Month" ShowNextPrevMonth="False" style="margin:0 auto; text-align:center;">
<DayHeaderStyle Font-Bold="True" Font-Size="7pt" ForeColor="#333333"
Height="10pt" BackColor="#EEEEEE" />
<DayStyle Width="14%" />
<NextPrevStyle Font-Size="8pt" ForeColor="White" />
<OtherMonthDayStyle ForeColor="#999999" />
<SelectedDayStyle BackColor="#EEEEEE" ForeColor="White" />
<SelectorStyle BackColor="#5D7B9D" Font-Bold="True" Font-Names="Verdana"
Font-Size="8pt" ForeColor="#333333" Width="1%" BorderColor="#CCCCCC" />
<TitleStyle BackColor="#5D7B9D" Font-Bold="True"
Font-Size="13pt" ForeColor="White" Height="14pt" />
<TodayDayStyle BackColor="#FFFFCC" />
</asp:Calendar>
<div style="margin:0 auto; text-align:left; Width:401px">
<asp:Button ID="Button2" runat="server" Text="Continue"
CausesValidation="false" OnClick="cmd" /></div>
</div>
<br />
</div></div></div></div>
</form>
</asp:Content>