Hi all,
Is there any way to customize the error message display with
validators. For example, with the following snippet:
<tr>
<td>
<asp:RequiredFieldValidator runat="server"
ControlToValidate="userName" Display="Dynamic"
EnableClientScript="false" ErrorMessage="Please enter your
name"></asp:RequiredFieldValidator>
</td>
</tr>
The container row and cell are always rendered. Is it possible to
somehow have the html elements inside the validator with a placeholder
telling it where to display the error message, so that they're only
rendered when an error occurs?
Thanks,
Paul
|