| 5 |
lars |
1 |
<%@ MasterClass="Application.layouts.MainLayout" Title="My Blog - Contact" %>
|
|
|
2 |
|
|
|
3 |
<com:TContent ID="Main">
|
|
|
4 |
<h1>Contact</h1>
|
| 3 |
lars |
5 |
<p>Please fill out the following form to let me know your feedback on my blog. Thanks!</p>
|
|
|
6 |
|
|
|
7 |
<span>Your Name:</span>
|
|
|
8 |
<com:TRequiredFieldValidator ControlToValidate="Name"
|
|
|
9 |
ErrorMessage="Please provide your name."
|
|
|
10 |
Display="Dynamic" />
|
|
|
11 |
<br/>
|
|
|
12 |
<com:TTextBox ID="Name" />
|
|
|
13 |
|
|
|
14 |
<br/>
|
|
|
15 |
<span>Your Email:</span>
|
|
|
16 |
<com:TRequiredFieldValidator ControlToValidate="Email"
|
|
|
17 |
ErrorMessage="Please provide your email address."
|
|
|
18 |
Display="Dynamic" />
|
|
|
19 |
<com:TEmailAddressValidator ControlToValidate="Email"
|
|
|
20 |
ErrorMessage="You entered an invalid email address."
|
|
|
21 |
Display="Dynamic" />
|
|
|
22 |
<br/>
|
|
|
23 |
<com:TTextBox ID="Email" />
|
|
|
24 |
|
|
|
25 |
<br/>
|
|
|
26 |
<span>Feedback:</span>
|
|
|
27 |
<com:TRequiredFieldValidator ControlToValidate="Feedback"
|
|
|
28 |
ErrorMessage="Please provide your feedback."
|
|
|
29 |
Display="Dynamic" />
|
|
|
30 |
<br/>
|
|
|
31 |
<com:TTextBox ID="Feedback"
|
|
|
32 |
TextMode="MultiLine"
|
|
|
33 |
Rows="10"
|
|
|
34 |
Columns="40" />
|
|
|
35 |
|
|
|
36 |
<br/>
|
|
|
37 |
<com:TButton Text="Submit" OnClick="submitButtonClicked" />
|
|
|
38 |
|
| 5 |
lars |
39 |
</com:TContent>
|