summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveHiddenFieldTest.page
blob: f0fc4b924eb3cb29f827ad0a8e837119db5f401c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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:TJavascriptLogger />
</com:TForm>