Link to home
Start Free TrialLog in
Avatar of jeanpo
jeanpoFlag for Canada

asked on

Problem changing password using a Template

I tried using a template <ChangePasswordTemplate> instead of the simple non templated asp:ChangePassword control.  Without template the password was changed without having to code anything, the membership API is doing it.  Whe I use the template, my password is not even being changed.  Do I have to code a changepassword in an event.  

I took the template example from this link but they don't give any indication of codebehing.
http://quickstarts.asp.net/QuickStartv20/util/srcview.aspx?path=~/aspnet/samples/ctrlref/login/ChangePasswordTemplates.src&file=CreateUser_cs\ChangePasswordTemplates_cs.aspx&lang=C%23+Source

The reason to use the template is to input an initial securityQuestion.  I've been able to save the securityQuestion by using the ChangePasswordPushButton_Click event but Do I need to do a similar call for the password and I find it risqy from a security stand point.

Can you guide me if you ever went through this??

My page is almost identical to the one I took from the link you find above.

Thanks
Jean
ASKER CERTIFIED SOLUTION
Avatar of jeanpo
jeanpo
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial