summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/samples/day1/blog/protected/pages/Contact.page
blob: c36149ca7c18b7d728353942bf490554eb66b8e3 (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
42
43
44
45
46
47
<%@ Title="My Blog - Contact" %>
 
<com:TContent ID="Main">
 
<h1>Contact</h1>
<p>Please fill out the following form to let me know your feedback on my blog. Thanks!</p>

<span>Your Name:</span>
<com:TRequiredFieldValidator ControlToValidate="Name"
	ErrorMessage="Please provide your name." 
	Display="Dynamic"
	/>
<br/>
<com:TTextBox ID="Name" />

<br/>

<span>Your Email:</span>
<com:TRequiredFieldValidator ControlToValidate="Email"
	ErrorMessage="Please provide your email address." 
	Display="Dynamic"
	/>
<com:TEmailAddressValidator ControlToValidate="Email"
	ErrorMessage="You entered an invalid email address." 
	Display="Dynamic"
	/>
<br/>
<com:TTextBox ID="Email" />

<br/>

<span>Feedback:</span>
<com:TRequiredFieldValidator ControlToValidate="Feedback"
	ErrorMessage="Please provide your feedback." 
	Display="Dynamic"
	/>
<br/>
<com:TTextBox ID="Feedback" 
	TextMode="MultiLine" 
	Rows="10"
	Columns="40" />

<br/>

<com:TButton Text="Submit" OnClick="submitButtonClicked" />

</com:TContent>