forked from dalbemil/AdvisorBooking
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Confirm.aspx
140 lines (112 loc) · 6.73 KB
/
Confirm.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<%@ Page Title="" Language="C#" MasterPageFile="~/AdvisorBookingServiceMasterPage.master" AutoEventWireup="true" CodeFile="Confirm.aspx.cs" Inherits="Default2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div class="post" id="post-5">
<div class="post-title">
<center> <h2>
Book An Appointment</h2></center>
<p>
</p>
</div>
<div class="post-entry">
<div class="post-entry-top">
<div class="post-entry-bottom">
<br />
<!--Content goes in this below table -->
<table style="width: 98%; height: 228px;">
<tr>
<td style="width: 137px; text-align: right" valign="middle">
</td>
<td style="width: 221px" valign="middle">
<asp:Label ID="Label4" runat="server" ForeColor="#CCCCCC"
Text="Advisor Name" style="font-weight: 700"></asp:Label>
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
</td>
<td style="width: 221px" valign="middle">
<asp:TextBox ID="txtAdvisorName" Runat="server" Width="202px"
ReadOnly="True" />
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
</td>
<td style="width: 221px" valign="middle">
<asp:Label ID="Label1" runat="server" ForeColor="#CCCCCC"
Text="Appointment Date" style="font-weight: 700"></asp:Label>
</td>
<td valign="middle">
<asp:Label ID="Label2" runat="server" ForeColor="#CCCCCC" Text="Time"
style="font-weight: 700"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
</td>
<td style="width: 221px" valign="middle">
<asp:TextBox ID="txtDate" Runat="server" Width="202px"
onclick="popupCalendar()" ReadOnly="True" />
</td>
<td valign="middle">
<div style="position:absolute">
<div id="dateField" style="display:none;position:relative; left: -15px; top: 20px; height: 189px; width: 232px;">
<%@ Register TagPrefix="uc1" TagName="ctlCalendar" Src="UserControls/ctlCalendar.ascx" %> <uc1:ctlCalendar id="ctlCalendar1" runat="server"></uc1:ctlCalendar></div></div>
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<asp:DropDownList ID="DropDownList1" runat="server"
onselectedindexchanged="DropDownList1_SelectedIndexChanged" BackColor="White"
ForeColor="Black" style="border-style: none; border-color: inherit; border-width: 0px; line-height: 8px; font-size: 9px; margin-bottom: 0px;"
Height="18px" Width="202px"></asp:DropDownList>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
</td>
<td valign="middle" colspan="2">
<asp:Label ID="Label5" runat="server" ForeColor="#CCCCCC"
Text="Description" style="font-weight: 700"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
</td>
<td valign="middle" colspan="2">
<textarea id="TextArea1" name="S1" style="height: 99px; width: 292px"
runat="server"></textarea></td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
</td>
<td valign="middle" colspan="2">
<asp:Button ID="Submit" runat="server" Text="Submit" onclick="Button1_Click"
Visible="False" />
</td>
</tr>
</table>
<br />
<br />
<br />
</div>
</div>
</div>
</div>
<script type="text/javascript">
function popupCalendar() {
var dateField = document.getElementById('dateField'); // toggle the div
if (dateField.style.display == 'none') dateField.style.display = 'block';
else dateField.style.display = 'none';
}
</script>
</form>
</asp:Content>