Answered by:
Customized Create user wizard.

Question
-
User1871197251 posted
I have a customized create user wizard. Seems like it is not rendering. What can be wrong.
thanks
Friday, January 25, 2008 11:13 AM
Answers
-
User-1320437544 posted
Hi,
may i ask you to paste some code ?
Thanks
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, January 25, 2008 12:44 PM -
User-656867934 posted
This code should render just fine. Check your master page, your not hiding the content place holder are you?
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, January 25, 2008 6:39 PM -
User-1320437544 posted
There you go copy, paste and run it renders just fine :)
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"><
center><asp:CreateUserWizard ID="CreateUserWizard1" SkinID="SampleCreateUserWizard" CssSelectorClass="PrettyCreateUserWizard" runat="server" ActiveStepIndex="2"><
WizardSteps> <asp:WizardStep ID="ContactInfo" runat="server" Title="Contact Info"> <table border="0" style="font-size: 100%; font-family: Verdana; background-color: white"> <tr> <td align="center" colspan="2" style="font-weight: bold; color: #f7f6f3; background-color: #5d7b9d">Enter Your Contact Details.</td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="Label1" runat="server" Text="First Name:"></asp:Label></td> <td></td> </tr> </table> </asp:WizardStep><
asp:WizardStep ID="BuildingAddress" runat="server" Title="Building Address"> </asp:WizardStep><
asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server" Title="Sign Up for your New Account"> <ContentTemplate> <table border="0" style="font-size: 100%; font-family: Verdana; background-color: white"> <tr> <td align="center" colspan="2" style="font-weight: bold; color: #f7f6f3; background-color: #5d7b9d">Sign Up for your New Account</td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label></td> <td><asp:TextBox ID="UserName" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox> <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label></td> <td><asp:TextBox ID="Password" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">Confirm Password:</asp:Label></td> <td><asp:TextBox ID="ConfirmPassword" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword" ErrorMessage="Confirm Password is required." ToolTip="Confirm Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">E-mail:</asp:Label></td> <td><asp:TextBox ID="Email" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox> <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email" ErrorMessage="E-mail is required." ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question">Security Question:</asp:Label></td> <td><asp:TextBox ID="Question" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox> <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" ControlToValidate="Question" ErrorMessage="Security question is required." ToolTip="Security question is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer">Security Answer:</asp:Label></td> <td><asp:TextBox ID="Answer" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox> <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" ControlToValidate="Answer" ErrorMessage="Security answer is required." ToolTip="Security answer is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="center" colspan="2"><asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password" ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="The Password and Confirmation Password must match." ValidationGroup="CreateUserWizard1"></asp:CompareValidator></td> </tr> <tr> <td align="center" colspan="2" style="color: red"><asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal></td> </tr> </table> </ContentTemplate></
asp:CreateUserWizardStep> <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server"></asp:CompleteWizardStep></
WizardSteps> <StartNavigationTemplate><
asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" Text="Next" /> </StartNavigationTemplate></
asp:CreateUserWizard> </center></
asp:Content>Hope it helps
Cheers
--------------------------------------------------------------------------------------------------------------------
Please don't forget to mark as "Answered" the answer which helps you. Thanks
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, January 25, 2008 7:10 PM
All replies
-
User-1320437544 posted
Hi,
may i ask you to paste some code ?
Thanks
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, January 25, 2008 12:44 PM -
User1871197251 posted
I just started adding items to the first step and tried to view it in a browser I didn't see any thing.
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<center><asp:CreateUserWizard ID="CreateUserWizard1" SkinID="SampleCreateUserWizard" CssSelectorClass="PrettyCreateUserWizard" runat="server" ActiveStepIndex="2">
<WizardSteps>
<asp:WizardStep ID="ContactInfo" runat="server" Title="Contact Info">
<table border="0" style="font-size: 100%; font-family: Verdana; background-color: white">
<tr>
<td align="center" colspan="2" style="font-weight: bold; color: #f7f6f3; background-color: #5d7b9d">
Enter Your Contact Details.</td>
</tr>
<tr>
<td align="right" style="color: #5d7b9d"><asp:Label ID="Label1" runat="server" Text="First Name:"></asp:Label>
</td>
<td></td>
</tr>
</table>
</asp:WizardStep>
<asp:WizardStep ID="BuildingAddress" runat="server" Title="Building Address">
</asp:WizardStep>
<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server" Title="Sign Up for your New Account">
<ContentTemplate>
<table border="0" style="font-size: 100%; font-family: Verdana; background-color: white">
<tr>
<td align="center" colspan="2" style="font-weight: bold; color: #f7f6f3; background-color: #5d7b9d">
Sign Up for your New Account</td>
</tr>
<tr>
<td align="right" style="color: #5d7b9d">
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label></td>
<td>
<asp:TextBox ID="UserName" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid"
BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox>
<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="color: #5d7b9d">
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label></td>
<td>
<asp:TextBox ID="Password" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid"
BorderWidth="1px" ForeColor="#5D7B9D" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="color: #5d7b9d">
<asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">Confirm Password:</asp:Label></td>
<td>
<asp:TextBox ID="ConfirmPassword" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid"
BorderWidth="1px" ForeColor="#5D7B9D" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword"
ErrorMessage="Confirm Password is required." ToolTip="Confirm Password is required."
ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="color: #5d7b9d">
<asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">E-mail:</asp:Label></td>
<td>
<asp:TextBox ID="Email" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid"
BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox>
<asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email"
ErrorMessage="E-mail is required." ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="color: #5d7b9d">
<asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question">Security Question:</asp:Label></td>
<td>
<asp:TextBox ID="Question" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid"
BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox>
<asp:RequiredFieldValidator ID="QuestionRequired" runat="server" ControlToValidate="Question"
ErrorMessage="Security question is required." ToolTip="Security question is required."
ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="color: #5d7b9d">
<asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer">Security Answer:</asp:Label></td>
<td>
<asp:TextBox ID="Answer" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid"
BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox>
<asp:RequiredFieldValidator ID="AnswerRequired" runat="server" ControlToValidate="Answer"
ErrorMessage="Security answer is required." ToolTip="Security answer is required."
ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="The Password and Confirmation Password must match."
ValidationGroup="CreateUserWizard1"></asp:CompareValidator>
</td>
</tr>
<tr>
<td align="center" colspan="2" style="color: red">
<asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
</td>
</tr>
</table>
</ContentTemplate>
</asp:CreateUserWizardStep>
<asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
</asp:CompleteWizardStep>
</WizardSteps>
<StartNavigationTemplate>
<asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" Text="Next" />
</StartNavigationTemplate>
</asp:CreateUserWizard>
</center>
</asp:Content>Friday, January 25, 2008 12:58 PM -
User-656867934 posted
This code should render just fine. Check your master page, your not hiding the content place holder are you?
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, January 25, 2008 6:39 PM -
User-1320437544 posted
There you go copy, paste and run it renders just fine :)
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"><
center><asp:CreateUserWizard ID="CreateUserWizard1" SkinID="SampleCreateUserWizard" CssSelectorClass="PrettyCreateUserWizard" runat="server" ActiveStepIndex="2"><
WizardSteps> <asp:WizardStep ID="ContactInfo" runat="server" Title="Contact Info"> <table border="0" style="font-size: 100%; font-family: Verdana; background-color: white"> <tr> <td align="center" colspan="2" style="font-weight: bold; color: #f7f6f3; background-color: #5d7b9d">Enter Your Contact Details.</td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="Label1" runat="server" Text="First Name:"></asp:Label></td> <td></td> </tr> </table> </asp:WizardStep><
asp:WizardStep ID="BuildingAddress" runat="server" Title="Building Address"> </asp:WizardStep><
asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server" Title="Sign Up for your New Account"> <ContentTemplate> <table border="0" style="font-size: 100%; font-family: Verdana; background-color: white"> <tr> <td align="center" colspan="2" style="font-weight: bold; color: #f7f6f3; background-color: #5d7b9d">Sign Up for your New Account</td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label></td> <td><asp:TextBox ID="UserName" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox> <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label></td> <td><asp:TextBox ID="Password" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">Confirm Password:</asp:Label></td> <td><asp:TextBox ID="ConfirmPassword" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword" ErrorMessage="Confirm Password is required." ToolTip="Confirm Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">E-mail:</asp:Label></td> <td><asp:TextBox ID="Email" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox> <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email" ErrorMessage="E-mail is required." ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question">Security Question:</asp:Label></td> <td><asp:TextBox ID="Question" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox> <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" ControlToValidate="Question" ErrorMessage="Security question is required." ToolTip="Security question is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="right" style="color: #5d7b9d"><asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer">Security Answer:</asp:Label></td> <td><asp:TextBox ID="Answer" runat="server" BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="#5D7B9D"></asp:TextBox> <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" ControlToValidate="Answer" ErrorMessage="Security answer is required." ToolTip="Security answer is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator></td> </tr> <tr> <td align="center" colspan="2"><asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password" ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="The Password and Confirmation Password must match." ValidationGroup="CreateUserWizard1"></asp:CompareValidator></td> </tr> <tr> <td align="center" colspan="2" style="color: red"><asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal></td> </tr> </table> </ContentTemplate></
asp:CreateUserWizardStep> <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server"></asp:CompleteWizardStep></
WizardSteps> <StartNavigationTemplate><
asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" Text="Next" /> </StartNavigationTemplate></
asp:CreateUserWizard> </center></
asp:Content>Hope it helps
Cheers
--------------------------------------------------------------------------------------------------------------------
Please don't forget to mark as "Answered" the answer which helps you. Thanks
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, January 25, 2008 7:10 PM -
User1871197251 posted
ActiveStepIndex="2"
There are three steps in the wizard. When I set it to 0 or 1 I am not getting result. With active step=2 , is going straight to the 3rd step.
Friday, January 25, 2008 8:36 PM -
User-656867934 posted
What are you seeing? Have you tried removing the ActiveStepIndex directive, to see if that has any effect?
Saturday, January 26, 2008 5:57 PM -
User1871197251 posted
If I select any other step than the third step in the create user wizard smart tag and view the page in a browser all I see is a thick line which is of the same color as the Control.If I select the third step then I can see the third step properly in the browser. Could someone try a to add couple extra step to the create user wizard and check . If it is working please send me the mark-up.
Thanks
Sunday, January 27, 2008 3:31 PM -
User1871197251 posted
Hi
I think I forgot to tell you that I am using CSS friendly control adapters. When not using CSS friendly Adapters it is working .I thought I posted this one in the CSS friendly control adapter section so I didn't explicitly mention that.
Thanks
Monday, February 4, 2008 10:25 AM