summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveHiddenFieldTest.page
blob: 317da6430805a6e65b7577ebab1093957aa09630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<com:TContent ID="Content">
    <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:TContent>