blob: 23afd67a9c30c6c761e93f1cb27b4ac25572afca (
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
|
<com:TContent ID="body">
<h1>TActiveTextBox Samples</h1>
<table class="sampletable">
<tr><td class="samplenote">
An active textbox being set as the result of a callback:
</td><td class="sampleaction">
<com:TActiveTextBox Text="Sample content" ID="txt1"
/>
<com:TActiveButton
Text="click me"
OnClick="buttonClicked"
/>
</td></tr>
<tr><td class="samplenote">
An active textbox with AutoPostBack="true"; Pressing Enter/Return, the textbox contents will be set on the label.
Note that text needs to be properly escaped to avoid html injections:
</td><td class="sampleaction">
<com:TActiveTextBox ID="txt2" AutoPostBack="true" OnTextChanged="textChanged"
/>
<com:TActiveLabel Text="" ID="label2"
/>
</td></tr>
</table>
</com:TContent>
|