summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.page
blob: b0c225873e7da90cb8b60626be7345fdb3a47815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<com:TForm>

<h1>Callback Replace Content Test</h1>

<com:TPanel ID="panel1" style="border:1px solid red; background-color: #ffc; padding:2em;">
Main Panel
	<com:TPanel ID="subpanel" style="border:1px solid blue; background-color: #fff; padding: 2em;">
		Sub Panel
	</com:TPanel>
</com:TPanel>

<com:TTextBox ID="content" />
<com:TActiveButton id="btn_append" Text="Append to Sub Panel" OnCallback="appendContent"/>
<com:TActiveButton id="btn_prepend" Text="Prepend to Sub Panel" OnCallback="prependContent" />
<com:TActiveButton id="btn_before" Text="Insert Before Sub Panel" OnCallback="insertContentBefore"/>
<com:TActiveButton id="btn_after" Text="Insert After Sub Panel" OnCallback="insertContentAfter"/>

<com:TActiveButton id="btn_replace" Text="Replace" OnCallback="replaceContent"/>

<com:TJavascriptLogger />

</com:TForm>