trouble with ChangePassword control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff

    #1

    trouble with ChangePassword control

    hi

    asp.net 2.0

    Here is the ChangePassword control markup on my webpage. The problem is that
    when I click the Submit button nothing happens (except that the textfields
    in the ChangePassword control is emptied)...

    any suggestions what I do wrong here?

    <asp:ChangePass word ID="ChangePassw ord1" runat="server">
    <ChangePassword Template>
    <table style="backgrou nd-color:#bbccee;" >
    <tr>
    <td align="right">N åværende Passord:</td>
    <td><asp:TextBo x ID="CurrentPass word" TextMode="Passw ord"
    runat="server"> </asp:TextBox></td>
    <td>
    <asp:RequiredFi eldValidator ID="valRequireU sername"
    SetFocusOnError ="true"
    Display="Dynami c"
    ControlToValida te="CurrentPass word" runat="server"
    ErrorMessage="N åværende passord er nødvendig"
    ValidationGroup ="ChangePasswor d1" >*</asp:RequiredFie ldValidator>
    </td>
    </tr>
    <tr>
    <td align="right">N ytt Passord:</td>
    <td><asp:TextBo x ID="NewPassword " TextMode="Passw ord"
    runat="server"> </asp:TextBox>
    </td>
    <td></td>
    </tr>
    <tr>
    <td align="right">B ekreft Passord:</td>
    <td><asp:TextBo x ID="ConfirmPass word" TextMode="Passw ord"
    runat="server"> </asp:TextBox>
    </td>
    <td></td>
    </tr>
    <tr>
    <td colspan="3">
    <asp:Label ID="FailureText " EnableViewState ="false"
    runat="server" ></asp:Label>
    <asp:ImageButto n ID="ChangePassw ord"
    CommandName="Su bmit" ImageUrl="~/Images/Go.gif" runat="server" />
    </td>

    </tr>
    </table>
    </ChangePasswordT emplate>
    </asp:ChangePassw ord>


  • Jeff

    #2
    solved

    Ok I've solved it. I was missing the Successfull template, also the finish
    button had wrong configuration:

    Here is the button with the new configuration:
    <asp:ImageButto n ID="ChangePassw ordPushButton" CommandName="Ch angePassword"
    ImageUrl="~/Images/Go.gif" runat="server" />


    Comment

    Working...