another question about CreateUserWizard

D

Dan

Hi,

i created a CreateUserWizard and i changed a little bit the error text (e.g.
if no email is entered: "an email is required".
When i create an user an di forgot to fill a email, i don't see the error
text, only a red star behind the textbox.
How can i show that error text? If not possible, why "ErrorMessage" in the
tag?

Thanks
Dan

<asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
.....
<td><asp:Label ID="EmailLabel" runat="server"
AssociatedControlID="Email">E-mail:</asp:Label></td>
<td><asp:TextBox ID="Email" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="EmailRequired" runat="server"
ControlToValidate="Email"
ErrorMessage="an email is required"
ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
</td>
......
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top