By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,882 Members | 2,465 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,882 IT Pros & Developers. It's quick & easy.

trouble with ChangePassword control

P: n/a
hi 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:ChangePassword ID="ChangePassword1" runat="server">
<table style="background-color:#bbccee;">
<td align="right">Nåværende Passord:</td>
<td><asp:TextBox ID="CurrentPassword" TextMode="Password"
<asp:RequiredFieldValidator ID="valRequireUsername"
ControlToValidate="CurrentPassword" runat="server"
ErrorMessage="Nåværende passord er nødvendig"
ValidationGroup="ChangePassword1" >*</asp:RequiredFieldValidator>
<td align="right">Nytt Passord:</td>
<td><asp:TextBox ID="NewPassword" TextMode="Password"
<td align="right">Bekreft Passord:</td>
<td><asp:TextBox ID="ConfirmPassword" TextMode="Password"
<td colspan="3">
<asp:Label ID="FailureText" EnableViewState="false"
runat="server" ></asp:Label>
<asp:ImageButton ID="ChangePassword"
CommandName="Submit" ImageUrl="~/Images/Go.gif" runat="server" />

Oct 13 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a
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:ImageButton ID="ChangePasswordPushButton" CommandName="ChangePassword"
ImageUrl="~/Images/Go.gif" runat="server" />
Oct 14 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.