473,857 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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>
Oct 13 '08 #1
1 2353
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" />
Oct 14 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7200
by: Blake | last post by:
Windows 2000 Active Directory, IIS 5 ASP code looks like this: Set oUser = GetObject("WinNT://DOMAIN/" & strNTName) oUser.ChangePassword strPassword, strNewPassword If (err.number <> 0) Then response.write(err.number) End If
2
3070
by: Evgeny | last post by:
Hello, I use in ChangePassword web control. The control is connected with a Membership provider that I also has defined. Particularly, there is such property in the provider: MinRequiredPasswordLength As far as I understood this property should control automatically length of of new password that was inputed by user in the control. But it didn't do it. For example, I defined MinRequiredPasswordLength=3, but I succeed to input and...
1
1525
by: javatopia | last post by:
Hello! I have a web page named "ChangePassword.aspx", which works just wonderful on my developer machine. When I deploy it to the server, though, I get: Compiler Error Message: CS0030: Cannot convert type 'ASP.changepassword_aspx' to 'System.Web.UI.WebControls.ChangePassword' public changepassword_aspx() { Line 121: string dependencies;
1
1499
by: chris | last post by:
I need to force a user to a ChangePassword screen after they have requested there password. I am using a custom MembershipProvider and overriding the Validate user event. After the user has been validate I have the ability to check if the user should be forced to change the password on their next logon or not. The problem is where can I check this inorder to force the user to change the password. For instance I want to make sure that they...
1
1200
by: nick | last post by:
I enable the administrators role to change password of other logins. Should I use asp:ChangePassword? It seems it's used to change current logon's password?
0
1135
by: davidr | last post by:
Hi, I am having a weird problem with the change password control. Unlike the createwizard control that creates new users and passwords, the changepassword control has no way of setting the View's index. So after the password is changed the success view comes up. I click continue and go back to a gridview I have displaying all of the users. If the admin user clicks on any member in the grid I redisplay the changepassword control. The...
1
1745
by: PJ6 | last post by:
Setting e.Cancel = true on the ChangingPassword event, fired from a ChangePassword control, does not show its failure message. Do I have to use a MembershipProvider, or is there a way to simply use this control by handing events? If I can't show the failure message on demand it's kind of useless. Paul
2
7675
by: Ken Fine | last post by:
I want to add the security question and answer security feature to the ChangePassword control. I am aware that this functionality is built into the PasswordRecovery tool. I have implemented the PasswordRecovery with a Password reset required; a temporary password is sent to the account on file. I want an extra layer of security to accommodate the very unlikely contingency that someone's e-mail account is compromised. Challenging with the...
0
960
by: Jeff | last post by:
hi I've added the markup below in the ChangePasswordTemplate, I thought that when I hit the ImageButton the password would change, but nothing happpens. Even RequiredFieldValidators isn't executed. I set CommandName to Submit, I thought that should be correct (as PasswordRecovery uses Submit)? <asp:ImageButton ID="ChangePassword" CommandName="Submit" ImageUrl="~/Images/Go.gif" runat="server" />
0
9923
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11082
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10711
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10807
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10394
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7939
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5774
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4190
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.