-
Notifications
You must be signed in to change notification settings - Fork 0
/
Colour.aspx
59 lines (54 loc) · 2.69 KB
/
Colour.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
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Colour.aspx.cs" Inherits="Colour" %>
<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: 206px">
<div class="client_heading"><asp:label runat="server" ID="lblHead">New Colour</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="ddList" runat="server" style="width:170px"
AutoPostBack="True" DataTextField="Name" DataValueField="ColorID"
onselectedindexchanged="ddList_SelectedIndexChanged">
</asp:DropDownList>
</div>
<div style="float:right; width:60px">Select:</div>
</div>
<div class="info_cntnt">
<div class="cntnt_value">ColourID:</div>
<div class="cntnt_value">Colour:</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="60px" Enabled="False"></asp:TextBox>
</div>
<div class="cntnt_value ">
<asp:TextBox ID="txtName" runat="server" width="150px" OnKeyPress="return alpha(event)"></asp:TextBox>
</div>
<div class="cntnt_value" style="height:50px">
<asp:TextBox ID="txtRemarks" runat="server" TextMode="MultiLine" width="150px"></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" onclick="btnDelete_Click"
onclientclick="return confirmdelete();"
Enabled="False" />
</div>
</asp:Content>