-
Notifications
You must be signed in to change notification settings - Fork 1
/
Default.aspx
25 lines (22 loc) · 880 Bytes
/
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
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register assembly="DevExpress.Web.v16.2, Version=16.2.17.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web" tagprefix="dx" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script>
function OnClick(s,e){
s.SetText('Purchased');
s.SetEnabled(false);
__doPostBack(s.name);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<dx:ASPxButton runat="server" ID="btnPurchase" ClientInstanceName="btnPurchase" OnClick="btnPurchase_Click" Text="Complete Purchase" AutoPostBack="False" ClientEnabled="True">
<ClientSideEvents Click="OnClick" />
</dx:ASPxButton>
</form>
</body>
</html>