-
Notifications
You must be signed in to change notification settings - Fork 0
/
EditProject.aspx
202 lines (168 loc) · 10.1 KB
/
EditProject.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditProject.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="css/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script src="js/jquery-ui.js"></script>
<script>
$(function () {
$("#txtTechnicalDate").datepicker({ dateFormat: "dd-MM-yy" });
$("#txtAdministrativeDate").datepicker({ dateFormat: "dd-MM-yy" });
$("#txtGrantReleaseDate").datepicker({ dateFormat: "dd-MM-yy" });
});
</script>
<title>Welcome to Vikas Kutch DPO</title>
</head>
<body>
<div class="page-header">
<h1 class="text-error text-center"><b>Village Index For Kutch Approve Scheme</b></h1>
</div>
<div class="navbar">
<div class="navbar-inner">
<a class="brand" href="#">Vikas Kutch DPO</a>
<ul class="nav">
<li >
<a href="Default.aspx">Home</a>
</li>
<li class="active"><a href="AddTask.aspx">Add Task</a></li>
<li><a href="TaskList.aspx">Task List</a></li>
<%if (Session["User"].ToString() == Common.stradmin)
{ %>
<li><a href="AddAdhikari.aspx">Add Implementation Officer</a></li>
<li><a href="AdhikariList.aspx">Implementation Officer List</a></li>
<li><a href="TaskListByStatus.aspx">Reports</a></li>
<%} %>
<li><a href="ChangePassword.aspx">Change Password</a></li>
<% if (Session["User"] == null)
{ %>
<li><a href="Login.aspx">Login</a></li>
<%}
else
{ %>
<li><a href="Logout.aspx">LogOut</a></li>
<%} %>
</ul>
</div>
</div>
<div class="container">
<div class="text-right"><span class="muted"><%=Session["User"].ToString() %> </span>
</div>
<h2>Update Task :- </h2>
<form id="form1" runat="server" class="form-horizontal">
<div class="control-group">
<asp:Label ID="Label12" runat="server" Text="Task Assigned Implementation Officer" CssClass="control-label"></asp:Label>
<div class="controls">
<%=proj.GivenTo.Name %>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label1" runat="server" Text="Village" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtVillage" runat="server" CssClass=""></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtVillage"
ErrorMessage="Village Name is Required" CssClass="text-error">*</asp:RequiredFieldValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label5" runat="server" Text="Taluka" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtTaluka" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtTaluka"
ErrorMessage="Taluka is Required" CssClass="text-error">*</asp:RequiredFieldValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label2" runat="server" Text="Work Name" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtProjectName" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtProjectName"
ErrorMessage="Work Name is Required" CssClass="text-error">*</asp:RequiredFieldValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label4" runat="server" Text="Scheme Name" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtSchemeName" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtSchemeName"
ErrorMessage="Scheme Name is Required" CssClass="text-error">*</asp:RequiredFieldValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label3" runat="server" Text="Estimated Cost" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtCostEstimated" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtCostEstimated"
ErrorMessage="Estimated Cost is supposed to be a decimal" CssClass="text-error" ValidationExpression="\d*\.?\d*">*</asp:RegularExpressionValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label6" runat="server" Text="Technical Section Date" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtTechnicalDate" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtTechnicalDate"
ErrorMessage="Technical Section Date is Required" CssClass="text-error">*</asp:RequiredFieldValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label7" runat="server" Text="Technical Section Amount" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtTechnicalAmount" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtTechnicalAmount"
ErrorMessage="Technical Section Amount is supposed to be a decimal" CssClass="text-error" ValidationExpression="\d*\.?\d*">*</asp:RegularExpressionValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label8" runat="server" Text="Administrative Section Date" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtAdministrativeDate" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtAdministrativeDate"
ErrorMessage="Administrative Section Date is Required" CssClass="text-error">*</asp:RequiredFieldValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label9" runat="server" Text="Administrative Section Amount" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtAdministrativeAmount" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtAdministrativeAmount"
ErrorMessage="Administrative Section Amount is supposed to be a decimal" CssClass="text-error" ValidationExpression="\d*\.?\d*">*</asp:RegularExpressionValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label10" runat="server" Text="Grant Release Date" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtGrantReleaseDate" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtGrantReleaseDate"
ErrorMessage="Grant Release Date is Required" CssClass="text-error">*</asp:RequiredFieldValidator>
</div>
</div>
<div class="control-group">
<asp:Label ID="Label11" runat="server" Text="Remarks" CssClass="control-label"></asp:Label>
<div class="controls">
<asp:TextBox ID="txtRemarks" runat="server" Height="54px" Width="386px" TextMode="MultiLine"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txtRemarks"
ErrorMessage="Remarks is Required" CssClass="text-error">*</asp:RequiredFieldValidator>
</div>
</div>
<div class="control-group">
<div class="controls">
<asp:Button CssClass="btn" ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
<br />
<asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="text-error"/>
</div>
</div>
</form>
</div>
<ul class="breadcrumb">
<li class="active">
<a href="Default.aspx">Home</a> -
</li>
<li><a href="AddTask.aspx">Add Task</a> - </li>
<li><a href="TaskList.aspx">Task List</a> - </li>
<li><a href="ChangePassword.aspx">Change Password</a></li>
</ul>
<h6 class="text-info text-center"> Designed and Developed by <a href="www.ailestech.com">Ailes Technology</a></h6>
</body>
</html>