summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.page
blob: 6a9df4462df4a59213152e634472c56a7364e35f (plain)
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
63
64
65
66
67
<com:TContent ID="body">
<h1>TJuiDialog Samples</h1>


<table class="sampletable">

<tr><td class="samplenote">
Simple Dialog:
</td><td class="sampleaction">
<com:TActiveButton
	Text="Open Dialog"
	OnClick="bt1Click"/>
<com:TJuiDialog
    ID="dlg1"
    Options.Title="Simple Dialog"
    Options.AutoOpen="False"
    >
    This is a simple Dialog
</com:TJuiDialog>
</td></tr>

<tr><td class="samplenote">
Modal dialog:
</td><td class="sampleaction">
<com:TActiveButton
	Text="Open Dialog"
	OnClick="bt2Click"/>
<com:TJuiDialog
    ID="dlg2"
    Options.Title="Modal dialog"
    Options.AutoOpen="False"
    Options.Modal="True"
    >
    This is a modal dialog

</com:TJuiDialog>
</td></tr>


<tr><td class="samplenote">
Dialog with buttons:
</td><td class="sampleaction">
<com:TActiveButton
	Text="Open Dialog"
	OnClick="bt3Click"/>
<com:TJuiDialog
    ID="dlg3"
    Options.Title="Dialog with buttons"
    Options.AutoOpen="False"
    >
    This is a dialog with buttons.
    <com:TJuiDialogButton
    	Text="Ok"
    	OnClick="dlg3Ok"
    	/>
    <com:TJuiDialogButton
    	Text="Cancel"
    	OnClick="dlg3Cancel"
    	/>

</com:TJuiDialog>
<com:TActiveLabel ID="lbl3" />
</td></tr>

</table>

</com:TContent>