-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vehicle Type.aspx
63 lines (58 loc) · 2.82 KB
/
Vehicle Type.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
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Vehicle Type.aspx.cs" Inherits="Vehicle_Type" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
<script src="JScript.js" type="text/javascript"></script>
<script src="jquery-1.5.1.js" type="text/javascript"></script>
<script type="text/javascript">
// clear the label message
$('html').mousedown(function () {
$('#<%=lblMsg.ClientID%>').html('');
});
$('html').keydown(function () {
$('#<%=lblMsg.ClientID%>').html('');
});</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
<div style="height: 214px; margin-bottom: 0px;">
<div class="client_heading">
<asp:Label ID="lblHead" runat="server" Text="New Vehicle Type"></asp:Label>
</div>
<div class="client_message" >
<asp:label runat="server" ID="lblMsg"></asp:label>
</div>
<div>
<div style="float:right; width:180px">
<asp:DropDownList ID="ddlVehicleType" runat="server" style="width:170px"
AutoPostBack="True" DataTextField="Name" DataValueField="VehicleTypeID"
onselectedindexchanged="ddlVehicleType_SelectedIndexChanged">
</asp:DropDownList>
</div>
<div style="float:right; width:60px">Select:</div>
</div>
<div class="info_cntnt">
<div class="cntnt_value">VehicleTypeID:</div>
<div class="cntnt_value">Name:</div>
<div class="cntnt_value">Remarks:</div>
</div>
<div class="info_txt" style="width:180px;">
<div class="cntnt_value ">
<asp:TextBox ID="txtID" runat="server" width="60" Enabled="False"></asp:TextBox>
</div>
<div class="cntnt_value ">
<asp:TextBox ID="txtName" runat="server" width="150" OnKeyPress="return alphanumeric(event)"></asp:TextBox>
</div>
<div class="cntnt_value" style="height:50px">
<asp:TextBox ID="txtRemarks" runat="server" TextMode="MultiLine" width="150"></asp:TextBox>
</div>
</div>
</div>
<div class="btn_container">
<asp:Button ID="btnNew" runat="server" Text="New" class="btn"
onclick="btnNew_Click" />
<asp:Button ID="btnSave" runat="server" Text="Add" class="btn"
onclick="btnSave_Click" />
<asp:Button ID="btnCalcel" runat="server" Text="Delete" class="btn_right"
Enabled="False" onclick="btnDelete_Click"
onclientclick="return confirmdelete();" />
</div>
</asp:Content>