Change Password Not Available.

Nov 16, 2010 at 4:54 AM
Edited Nov 16, 2010 at 3:10 PM

When I load the edit-user-modal.ascx the Change Password Tab infomation page is empty.(Actually the view source shows ' <div id="edit1_tcntUserInfo_TabPanel4" class="ajax__tab_panel" style="display:none;visibility:hidden;">   ' )

What would cause the style="display:none;visibility:hidden?

 

I made modifications to the Custom Profile, Removed some fields, added some others.
All of that is working just fine.
The only part NOT working is the 'Change Password' Tab. In the view source all of the code is there, but the

Div tag for that tab is:

<div id="edit1_tcntUserInfo_TabPanel4" class="ajax__tab_panel" style="display:none;visibility:hidden;">
causing the content to no be displayed.

Where is this coming from?

May 2, 2011 at 3:11 PM

I had the same issue.  I moved the code from the TabPanel4 (Change Password), to TabPanel3 (User Profile) and it worked.  No changes required to the code behind page.

If there is another solution please post.

Here is the modified TabPanel3 code:

                <cc1:TabPanel ID="TabPanel3" runat="server" HeaderText="User Profile">
                    <ContentTemplate>
                        <div class="contentTemplate">
                            <div class="formSectionTitle2">
                                USER DETAIL
                            </div>
                            <div class="formLabelsText">
                                <b>UserID:</b>
                                <asp:Label ID="lblUserID" runat="server" Text="UserID"></asp:Label>
                            </div>
                            <div class="formLabelsText">

                            <div class="formLabelsText">
                                First name:<br />
                                <asp:TextBox ID="txtFirstName" runat="server" Width="99%" MaxLength="50"></asp:TextBox>
                            </div>
                            <div class="formLabelsText">
                                Last name:<br />
                                <asp:TextBox ID="txtLastName" runat="server" Width="99%" MaxLength="50" />
                            </div>
                            <div class="formLabelsText">
                                Gender:<br />
                                <asp:DropDownList runat="server" ID="ddlGenders">
                                    <asp:ListItem Text="Please select one..." Selected="True" />
                                    <asp:ListItem Text="Male" Value="M" />
                                    <asp:ListItem Text="Female" Value="F" />
                                </asp:DropDownList>
                            </div>
                            <div class="formLabelsText">
                                Birth date:<br />
                                <asp:TextBox ID="txtBirthDate" runat="server" Width="99%"></asp:TextBox>
                                <cc1:CalendarExtender ID="txtBirthDate_CalendarExtender" runat="server" TargetControlID="txtBirthDate" Enabled="True">
                                </cc1:CalendarExtender>
                                <asp:CompareValidator runat="server" ID="valBirthDateFormat" ControlToValidate="txtBirthDate" SetFocusOnError="True" Display="Dynamic" Operator="DataTypeCheck" Type="Date" ErrorMessage="The format of the birth date is not valid." ValidationGroup="EditProfile">
                            <br />
                            The format of the birth date is not valid.
                                </asp:CompareValidator>
                                <cc1:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="txtBirthDate" Mask="99/99/9999" MaskType="Date" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" />
                                <cc1:MaskedEditValidator ID="MaskedEditValidator1" runat="server" ControlToValidate="txtBirthDate" ControlExtender="MaskedEditExtender1" Display="Dynamic" TooltipMessage="Please enter a date" EmptyValueMessage="Date must be in correct format" InvalidValueMessage="This date is invalid" ErrorMessage="MaskedEditValidator1" />
                            </div>
                            <div class="formLabelsText">
                                Occupation:<br />
                                <asp:DropDownList ID="ddlOccupations" runat="server" Width="99%">
                                    <asp:ListItem Text="Please select one..." Selected="True" />
                                    <asp:ListItem Text="Academic" />
                                    <asp:ListItem Text="Accountant" />
                                    <asp:ListItem Text="Actor" />
                                    <asp:ListItem Text="Architect" />
                                    <asp:ListItem Text="Artist" />
                                    <asp:ListItem Text="Business Manager" />
                                    <asp:ListItem Text="Carpenter" />
                                    <asp:ListItem Text="Chief Executive" />
                                    <asp:ListItem Text="Cinematographer" />
                                    <asp:ListItem Text="Civil Servant" />
                                    <asp:ListItem Text="Coach" />
                                    <asp:ListItem Text="Composer" />
                                    <asp:ListItem Text="Computer programmer" />
                                    <asp:ListItem Text="Cook" />
                                    <asp:ListItem Text="Counsellor" />
                                    <asp:ListItem Text="Doctor" />
                                    <asp:ListItem Text="Driver" />
                                    <asp:ListItem Text="Economist" />
                                    <asp:ListItem Text="Editor" />
                                    <asp:ListItem Text="Electrician" />
                                    <asp:ListItem Text="Engineer" />
                                    <asp:ListItem Text="Executive Producer" />
                                    <asp:ListItem Text="Fixer" />
                                    <asp:ListItem Text="Graphic Designer" />
                                    <asp:ListItem Text="Hairdresser" />
                                    <asp:ListItem Text="Headhunter" />
                                    <asp:ListItem Text="HR - Recruitment" />
                                    <asp:ListItem Text="Information Officer" />
                                    <asp:ListItem Text="IT Consultant" />
                                    <asp:ListItem Text="Journalist" />
                                    <asp:ListItem Text="Lawyer / Solicitor" />
                                    <asp:ListItem Text="Lecturer" />
                                    <asp:ListItem Text="Librarian" />
                                    <asp:ListItem Text="Mechanic" />
                                    <asp:ListItem Text="Model" />
                                    <asp:ListItem Text="Musician" />
                                    <asp:ListItem Text="Office Worker" />
                                    <asp:ListItem Text="Performer" />
                                    <asp:ListItem Text="Photographer" />
                                    <asp:ListItem Text="Presenter" />
                                    <asp:ListItem Text="Producer / Director" />
                                    <asp:ListItem Text="Project Manager" />
                                    <asp:ListItem Text="Researcher" />
                                    <asp:ListItem Text="Salesman" />
                                    <asp:ListItem Text="Social Worker" />
                                    <asp:ListItem Text="Soldier" />
                                    <asp:ListItem Text="Sportsperson" />
                                    <asp:ListItem Text="Student" />
                                    <asp:ListItem Text="Teacher" />
                                    <asp:ListItem Text="Technical Crew" />
                                    <asp:ListItem Text="Technical Writer" />
                                    <asp:ListItem Text="Therapist" />
                                    <asp:ListItem Text="Translator" />
                                    <asp:ListItem Text="Waitress / Waiter" />
                                    <asp:ListItem Text="Web designer / author" />
                                    <asp:ListItem Text="Writer" />
                                    <asp:ListItem Text="Other" />
                                </asp:DropDownList>
                            </div>
                            <div class="formLabelsText">
                                Personal Website:<br />
                                <asp:TextBox ID="txtWebsite" runat="server" Width="99%" MaxLength="200" />
                            </div>
                            <div class="formSectionEnd">
                            </div>
                            <div class="formSectionTitle2">
                                ADDRESS
                            </div>
                            <div class="formLabelsText">
                                Country:<br />
                                <asp:DropDownList ID="ddlCountries" runat="server" AppendDataBoundItems="True" Width="99%">
                                    <asp:ListItem Selected="True" Text="Please select one..." />
                                </asp:DropDownList>
                            </div>
                            <div class="formLabelsText">
                                Address:<br />
                                <asp:TextBox runat="server" ID="txtAddress" Width="99%" MaxLength="100" />
                            </div>
                            <div class="formLabelsText">
                                Apartment Number:<br />
                                <asp:TextBox runat="server" ID="txtAptNumber" Width="99%" MaxLength="50" />
                            </div>
                            <div class="formLabelsText">
                                City:<br />
                                <asp:TextBox runat="server" ID="txtCity" Width="99%" MaxLength="100" />
                            </div>
                            <div class="formLabelsText">
                                State / Region:<br />
                                <asp:DropDownList ID="ddlStates1" runat="server" AppendDataBoundItems="True" Width="99%">
                                    <asp:ListItem Selected="True" Text="Please select one..." />
                                </asp:DropDownList>
                            </div>
                            <div class="formLabelsText">
                                Zip / Postal code:<br />
                                <asp:TextBox runat="server" ID="txtPostalCode" Width="99%" MaxLength="20" />
                            </div>
                            <div class="formSectionEnd">
                            </div>
                            <div class="formSectionTitle2">
                                CONTACT INFO
                            </div>
                            <div class="formLabelsText">
                                Day Time Phone:<br />
                                <asp:TextBox runat="server" ID="txtDayTimePhone" Width="99%" MaxLength="20" />
                            </div>
                            <div class="formLabelsText">
                                Day Time Phone Ext.:<br />
                                <asp:TextBox runat="server" ID="txtDayTimePhoneExt" Width="99%" MaxLength="10" />
                            </div>
                            <div class="formLabelsText">
                                Evening Phone:<br />
                                <asp:TextBox runat="server" ID="txtEveningPhone" Width="99%" MaxLength="20" />
                            </div>
                            <div class="formLabelsText">
                                Evening Phone Ext.:<br />
                                <asp:TextBox runat="server" ID="txtEveningPhoneExt" Width="99%" MaxLength="10" />
                            </div>
                            <div class="formLabelsText">
                                Cell Phone:<br />
                                <asp:TextBox runat="server" ID="txtCellPhone" Width="99%" MaxLength="20" />
                            </div>
                            <div class="formLabelsText">
                                Home Fax:<br />
                                <asp:TextBox runat="server" ID="txtHomeFax" Width="99%" MaxLength="20" />
                            </div>
                            <div class="formSectionEnd">
                            </div>
                            <div class="formSectionTitle2">
                                COMPANY DETAILS
                            </div>
                            <div class="formLabelsText">
                                Company Name:<br />
                                <asp:TextBox ID="txbCompanyName" runat="server" Width="99%" MaxLength="50"></asp:TextBox>
                            </div>
                            <div class="formLabelsText">
                                Address:<br />
                                <asp:TextBox ID="txbCompanyAddress" runat="server" Width="99%" MaxLength="50"></asp:TextBox>
                            </div>
                            <div class="formLabelsText">
                                City:<br />
                                <asp:TextBox ID="txbCompanyCity" runat="server" Width="99%" MaxLength="50"></asp:TextBox>
                            </div>
                            <div class="formLabelsText">
                                State:<br />
                                <asp:DropDownList ID="ddlStates2" runat="server" AppendDataBoundItems="True" Width="99%">
                                    <asp:ListItem Selected="True" Text="Please select one..." />
                                </asp:DropDownList>
                            </div>
                            <div class="formLabelsText">
                                Zip:<br />
                                <asp:TextBox ID="txbCompanyZip" runat="server" Width="99%" MaxLength="50"></asp:TextBox>
                            </div>
                            <div class="formLabelsText">
                                Phone:<br />
                                <asp:TextBox ID="txbCompanyPhone" runat="server" Width="99%" MaxLength="20"></asp:TextBox>
                            </div>
                            <div class="formLabelsText">
                                Fax:<br />
                                <asp:TextBox ID="txbCompanyFax" runat="server" Width="99%" MaxLength="20"></asp:TextBox>
                            </div>
                            <div class="formLabelsText">
                                Website:<br />
                                <asp:TextBox ID="txbCompanyWebsite" runat="server" Width="99%" MaxLength="200"></asp:TextBox>
                            </div>
                            <div class="formSectionEnd">
                            </div>
                            <div class="formSectionTitle2">
                                NEWSLETTER SUBSCRIPTION
                            </div>
                            <div class="formLabelsText">
                                Newsletter:<br />
                                <asp:DropDownList runat="server" ID="ddlNewsletter">
                                    <asp:ListItem Text="No subscription" Value="None" Selected="true" />
                                    <asp:ListItem Text="Subscribe to newsletter" Value="Html" />
                                </asp:DropDownList>
                            </div>

                            <div class="formSectionEnd">
                            </div>

<%--start password--%>
                            <div class="formSectionTitle2">
                                CHANGE PASSWORD:
                            </div>
                            <div class="formLabelsText">
                                Current Password:<br />
                                <asp:Literal ID="PWD" runat="server"></asp:Literal>
                                <asp:TextBox ID="OldPasswordTextbox" runat="server" TextMode="Password" Width="140px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="OldPasswordRequiredValidator" runat="server" ControlToValidate="OldPasswordTextbox" Display="Dynamic" ErrorMessage="Required" ValidationGroup="changepassword"></asp:RequiredFieldValidator>
                                <span class="currentPW">

                                    <asp:Literal ID="lblCurrentPassword" runat="server" EnableViewState="False"></asp:Literal>
                                </span>
                            </div>
                            <div class="formLabelsText">
                                New Password:<br />
                                <asp:TextBox ID="PasswordTextbox" runat="server" TextMode="Password" Width="140px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequiredValidator" runat="server" ControlToValidate="PasswordTextbox" Display="Dynamic" ErrorMessage="Required" ValidationGroup="changepassword"></asp:RequiredFieldValidator>
                            </div>
                            <div class="formLabelsText">
                                Confirm New Password:<br />
                                <asp:TextBox ID="PasswordConfirmTextbox" runat="server" TextMode="Password" Width="140px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordConfirmRequiredValidator" runat="server" ControlToValidate="PasswordConfirmTextbox" Display="Dynamic" ErrorMessage="Required" ValidationGroup="changepassword"></asp:RequiredFieldValidator>
                                <asp:CompareValidator ID="PasswordConfirmCompareValidator" runat="server" ControlToCompare="PasswordTextBox" ControlToValidate="PasswordConfirmTextbox" Display="Dynamic" ErrorMessage="NEW password must match CONFIRM password." ValidationGroup="changepassword"></asp:CompareValidator>
                            </div>
                            <div>
                                <asp:Button ID="ChangePasswordButton" CssClass="inputButton" runat="server" OnClick="ChangePassword_OnClick" Text="Change Password" ValidationGroup="changepassword" />
                            </div>
                            <div class="formSectionEnd">
                            </div>
                            <div class="formSectionTitle2">
                                CHANGE PASSWORD Q AND A
                            </div>
                            <div class="formLabelsText">
                                Password:<br />
                                <asp:TextBox ID="qaCurrentPassword" runat="server" TextMode="Password" Width="140px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="qaCurrentPassword" ErrorMessage="Required" ValidationGroup="changePasswordQA"></asp:RequiredFieldValidator>
                            </div>
                            <div class="formLabelsText">
                                New Pw. Question:<br />
                                <asp:TextBox ID="qaNewQuestion" runat="server" MaxLength="256" Width="140px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="QuestionRequiredValidator" runat="server" ControlToValidate="qaNewQuestion" ErrorMessage="Required" ValidationGroup="changePasswordQA"></asp:RequiredFieldValidator>
                            </div>
                            <div class="formLabelsText">
                                New Pw. Answer:<br />
                                <asp:TextBox ID="qaNewAnswer" runat="server" MaxLength="128" Width="140px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="AnswerRequiredValidator" runat="server" ControlToValidate="qaNewAnswer" ErrorMessage="Required" ValidationGroup="changePasswordQA"></asp:RequiredFieldValidator>
                            </div>
                            <div>
                                <asp:Button ID="ChangePasswordQuestionButton" CssClass="inputButton" runat="server" OnClick="ChangePasswordQuestion_OnClick" Text="Change Q. and A." ValidationGroup="changePasswordQA" />
                            </div>
                            <div>
                                <asp:Label ID="Msg" runat="server" ForeColor="Maroon"></asp:Label>
                            </div>
                        </div>
<%--end password--%>

                            <div class="formSectionEnd">
                            </div>
                            <div class="formButton">
                                <asp:Button ID="btnUpdateProfile" CssClass="inputButton" runat="server" Text="Update Profile" ValidationGroup="EditProfile" OnClick="btnUpdateProfile_Click" />
                                <asp:Button ID="btnDeleteProfile" CssClass="inputButton" runat="server" OnClick="btnDeleteProfile_Click" OnClientClick="return confirm('Are Your Sure?')" Text="Delete Profile" />
                                &nbsp;
                                <asp:Label ID="lblProfileMessage" runat="server" />
                            </div>
                        </div>
                    </ContentTemplate>
                </cc1:TabPanel>