-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWebUserControl.ascx
56 lines (49 loc) · 2.41 KB
/
WebUserControl.ascx
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
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WebUserControl.ascx.cs" Inherits="Solution.WebUserControl1" %>
<dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" BackColor="LightGray" Width="300px" HeaderText="Delete Confirmation" DefaultButton="btnYes">
<PanelCollection>
<dx:PanelContent runat="server">
<table>
<tr>
<td rowspan="2">
<dx:ASPxImage ID="ASPxImage1" runat="server" ImageUrl="~/Images/img1.png">
</dx:ASPxImage>
</td>
<td>
<dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Are you sure you want to delete this row?">
</dx:ASPxLabel>
</td>
</tr>
<tr>
<td>
<dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Row ID: " >
</dx:ASPxLabel>
<dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="" ClientInstanceName="lbRowId" Font-Bold="True">
</dx:ASPxLabel>
</td>
</tr>
</table>
<br />
<table>
<tr>
<td>
<dx:ASPxCheckBox ID="cbDontAsk" runat="server" Text="Don't ask for confirmation" ClientInstanceName="cbDontAsk">
<ClientSideEvents CheckedChanged="cbDontAsk_CheckedChanged" />
</dx:ASPxCheckBox>
</td>
<td style="width:100%">
</td>
<td>
<dx:ASPxButton ID="btnYes" runat="server" Text="Yes" Width="50px" AutoPostBack="False" ClientInstanceName="btnYes">
<ClientSideEvents Click="btnYes_Click" />
</dx:ASPxButton>
</td>
<td>
<dx:ASPxButton ID="btnNo" runat="server" Text="No" Width="50px" AutoPostBack="False">
<ClientSideEvents Click="btnNo_Click" />
</dx:ASPxButton>
</td>
</tr>
</table>
</dx:PanelContent>
</PanelCollection>
</dx:ASPxRoundPanel>