CreateUserWizard1: CreateUserWizardStep.ContentTemplate does not contain an IEditableTextControl with ID UserName for the username.
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" ContinueDestinationPageUrl="~/Pages/Login/frmLogin.aspx"> <wizardsteps> <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server"> <contenttemplate> <table> <tr> <td> <asp:Label ID="lblFirstName" runat="server" Text="First Name:"></td> <td><asp:TextBox ID="txtFirstName" runat="server"></td> <td><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="First Name Required" ControlToValidate="txtFirstName" ValidationGroup="CreateUserWizard1">* </td> </tr> <tr> <td> <asp:Label ID="lblLastName" runat="server" Text="Last Name:"></td> <td><asp:TextBox ID="txtLastName" runat="server"></td> <td><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Last Name Required" ControlToValidate="txtLastName" ValidationGroup="CreateUserWizard1">* </td> </tr> <tr> <td> <asp:Label ID="lblLoginName" runat="server" Text="Login Name:"></td> <td><asp:TextBox ID="txtLoginName" runat="server"></td> <td><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Login Name Required" ControlToValidate="txtLoginName" ValidationGroup="CreateUserWizard1">* </td> </tr> <tr> <td> <asp:Label ID="lblPassword" runat="server" Text="Password:"></td> <td><asp:TextBox ID="txtPassword" runat="server"></td> <td><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Password Required" ControlToValidate="txtPassword" ValidationGroup="CreateUserWizard1">* </td> </tr> <tr> <td> <asp:Label ID="lblConfirmPassowrd" runat="server" Text=" Confirm Password:"></td> <td><asp:TextBox ID="txtConfirmPassowrd" runat="server"></td> <td><asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Confirm Password Required" ControlToValidate="txtConfirmPassowrd" ValidationGroup="CreateUserWizard1">*<br /> <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Password Not Matching!" ControlToCompare="txtPassword" ValidationGroup="CreateUserWizard1" ControlToValidate="txtConfirmPassowrd">* </td> </tr> <tr> <td> <asp:Label ID="lblContact" runat="server" Text="Contact No.:"></td> <td><asp:TextBox ID="txtContact" runat="server"></td> <td><asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Contact No. Required" ControlToValidate="txtContact" ValidationGroup="CreateUserWizard1">* </td> </tr> </table> </contenttemplate> <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server"> <contenttemplate> <table> <tr> <td colspan="2"><asp:Label ID="lblMessage" runat="server" Text="Login Successfull"></td> </tr> <tr> <td> <asp:Label ID="lblUserName" runat="server" Text="UserName"></td> <td> <asp:Label ID="lblPassword" runat="server" Text=""> </td> </tr> <tr> <td> <asp:Button ID="btnComplete" runat="server" Text="Finish" /> </td> </tr> </table> </contenttemplate> </wizardsteps>
UserName
txtLoginName
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)