summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page
blob: f3bfe843ae2d5a45841dd5c342e6931e12122e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<com:TContent ID="body">

<h1>TActivePanel Samples</h1>

<table class="sampletable">

<tr><td class="samplenote">
Active panel updated on callback:
</td><td class="sampleaction">
<com:TActivePanel ID="panel1" BackColor="#CCFFCC" DefaultButton="button1" Width="400px">
This is panel content
<br/>a checkbox: <com:TCheckBox ID="check1"/>
<br/>a textbox: <com:TTextBox ID="txt1"/>
<br/>a label: <com:TLabel ID="label1"/>
<br/><com:TActiveButton ID="button1" Text="click me" OnCallback="buttonClicked" />
<br/>
When you press the button, the panel contents will change. Note that out of the
panel and the button, all the other controls are not active but gets updated
anyway since they are placed inside the active panel.
</com:TActivePanel>
</td></tr>
</table>
</com:TContent>