blob: c4e7fb53825bfa0d6a972fd78ef7ab1010aebc67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<com:TContent ID="Content">
<div style="margin: 20px auto 0px auto; width: 700px;">
<com:TLabel Text="TestField:" ForControl="testField" />
<com:TActiveTextBox
ID="testField"
CssClass="DialogInput"
ValidationGroup="group"
Style="text-align: left;"
AutoPostback="False"
/>
<br />
<com:TRequiredFieldValidator
ControlToValidate="testField"
Display="Dynamic"
ControlCssClass="inputerror"
ValidationGroup="group"
CssClass="error"
ErrorMessage="Please insert some Data." />
<com:TActiveCustomValidator
ControlToValidate="testField"
OnServerValidate="Page.check"
ValidationGroup="group"
Display="Dynamic"
ControlCssClass="inputerror"
CssClass="error"
ErrorMessage="Please insert the right Data."
/>
<br />
<com:TLabel Text="TestField2:" ForControl="testField2" />
<com:TActiveTextBox
ID="testField2"
CssClass="DialogInput"
ValidationGroup="coran"
Style="text-align: left;"
/>
<br />
<com:TActiveButton Text="Start" OnCallback="Page.save" ValidationGroup="group" />
<com:TActiveLabel id="Result"/>
</div>
</com:TContent>
|