October 2010
Intermediate to advanced
1920 pages
73h 55m
English
When a validation control displays a validation error, the control displays the value of its Text property. Normally, you assign a simple text string, such as "(Required)" to the Text property; however, the Text property accepts any HTML string.
For example, the page in Listing 3.2 displays an image when you submit the form without entering a value for the First Name text field (see Figure 3.2).
Figure 3.2. Displaying an image for a validation error.

Listing 3.2. ValidationImage.aspx

In Listing 3.2, the Text property ...