-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDefault.aspx
55 lines (53 loc) · 1.55 KB
/
Default.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
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style>
.first{
width:300px;
height:34px;
background-color:#1f71ad;
outline:none;
border:1px solid #1f76b6;
color:#ffffff;
font-size:15px;
}
.first:hover{
cursor:pointer;
background-color:#3e92cf;
box-shadow:0 0 8px #3e92cf;
}
.second{
width:120px;
height:34px;
background-color:#1f71ad;
outline:none;
border:1px solid #1f76b6;
color:#ffffff;
font-size:15px;
}
.second:hover{
cursor:pointer;
background-color:#3e92cf;
box-shadow:0 0 8px #3e92cf;
}
.second:disabled{
cursor:not-allowed;
background-color:#3e92cf;
box-shadow:0 0 0 #3e92cf;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<h2>Click Button to Enable Second Button</h2>
<asp:Button CssClass="first" ID="Button1" OnClick="Button1_Click" runat="server" Text="Press this button to Enable Second Button" />
<br />
<br />
<asp:Button ID="Button2" CssClass="second" runat="server" Text="Second Button" />
</div>
</form>
</body>
</html>