<Asp: createuserwizard id =" Createuserwizard1 "Runat =" server ">
< Wizardsteps >
< ASP: createuserwizardstep Runat = "server">
< Contenttemplate >
& Nbsp register a new account <br/>
<Asp: Label id = "usernamelabel" runat = "server" associatedcontrolid =" Username "> User Name:
</ASP: Label>
<Asp: textbox id =" Username "Runat =" server ">
</ASP: textbox>
<Asp: Requiredfieldvalidator Id = "usernamerequired" runat = "server" Controltovalidate = "username "
Errormessage = "username required" tooltip = "username required ""
Validationgroup =" Createuserwizard1 "> * </ASP: requiredfieldvalidator> </BR>
<Asp: Label id = "passwordlabel" runat = "server" associatedcontrolid = "password"> password:
</ASP: Label>
<Asp: textbox id = "password" runat = "server" textmode = "password">
</ASP: textbox>
<Asp: requiredfieldvalidator id = "requiredfieldvalidator1" runat = "server" controltovalidate = "password"
Errormessage = "Password required" "tooltip =" Password required ""
Validationgroup = "createuserwizard1"> * </ASP: requiredfieldvalidator> <br/>
<Asp: Label id = "confirmpasswordlabel" runat = "server" associatedcontrolid = "confirmpassword"> confirm the password:
</ASP: Label>
<Asp: textbox id = "confirmpassword" runat = "server">
</ASP: textbox>
<Asp: requiredfieldvalidator id = "requiredfieldvalidator2" runat = "server" controltovalidate = "confirmpassword"
Errormessage = "you must enter" Confirm Password "" tooltip = "you must enter" Confirm Password ""
Validationgroup = "createuserwizard1"> * </ASP: requiredfieldvalidator> <br/>
<Asp: Label id = "emaillabel" runat = "server" associatedcontrolid = "email"> Email:
</ASP: Label>
<Asp: textbox id = "email" runat = "server">
</ASP: textbox>
<Asp: requiredfieldvalidator id = "requiredfieldvalidator3" runat = "server" controltovalidate = "email"
Errormessage = "you must enter" email "" tooltip = "you must enter" email ""
Validationgroup = "createuserwizard1"> * </ASP: requiredfieldvalidator> <br/>
<Asp: Label id = "questionlabel" runat = "server" associatedcontrolid = "Quetion"> Security Prompt:
</ASP: Label>
<Asp: textbox id = "Quetion" runat = "server">
</ASP: textbox>
<Asp: requiredfieldvalidator id = "requiredfieldvalidator4" runat = "server" controltovalidate = "Quetion"
Errormessage = "you must enter" Security Prompt question "" tooltip = "you must enter" Security Prompt question ""
Validationgroup = "createuserwizard1"> * </ASP: requiredfieldvalidator> <br/>
<Asp: Label id = "answerlabel" runat = "server" associatedcontrolid = "username"> Security answer:
</ASP: Label>
<Asp: textbox id = "Answer" runat = "server">
</ASP: textbox>
<Asp: requiredfieldvalidator id = "requiredfieldvalidator5" runat = "server" controltovalidate = "Answer"
Errormessage = "you must enter" Security answer "" tooltip = "you must enter" Security answer ""
Validationgroup = "createuserwizard1"> * </ASP: requiredfieldvalidator> <br/>
comparevalidator id =" passwordcompare "runat =" server " controltocompare =" password "
controltovalidate =" confirmpassword "display =" dynamic " errormessage = "" password "and" Confirm Password "must match. "
validationgroup =" createuserwizard1 ">
< ASP: literal Id = "errormessage" runat = "server" enableviewstate = "false"> </ASP: literal>
</Contenttemplate>
</ASP: createuserwizardstep>
<Asp: completewizardstep runat = "server">
<Contenttemplate>
<Table border = "0">
<Tr>
<TD align = "center" colspan = "2">
Complete
</TD>
</Tr>
<Tr>
<TD>
You have successfully created your account.
</TD>
</Tr>
<Tr>
<TD align = "right" colspan = "2">
<Asp: button id = "continuebutton" runat = "server" causesvalidation = "false"
Commandname = "continue" text = "continue" validationgroup = "createuserwizard1"/>
</TD>
</Tr>
</Table>
</Contenttemplate>
</ASP: completewizardstep>
</Wizardsteps>
</ASP: createuserwizard>
However, the control IDs in the template must be fixed. If you change the settings, unpredictable errors will occur!