summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveHiddenFieldTest.page
blob: 837cc580152d86eede88ea557b2b2dd8c31f0494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<com:TForm ID="form1">
    <h1>Active HiddenField Test Case</h1>

    <com:TActiveHiddenField ID="HiddenFieldEmpty" />
    <com:TActiveHiddenField ID="HiddenFieldUsed" Value="My value" />

    <div>
        <com:TActiveButton ID="Button1" Text="Set value to HiddenFieldEmpty" OnClick="onSetValue" />
        <com:TActiveButton ID="Button2" Text="Get value from HiddenFieldUsed" OnClick="onGetValue" />
        <com:TActiveButton ID="Button3" Text="Get values from both fields" OnClick="onGetBothValues" />
    </div>
    <div>
        <com:TActiveLabel ID="ResponseLabel" Text="Value of current hidden field" />
    </div>
</com:TForm>