Author: NamrataC | Posted on: 6/14/2008 5:13:19 AM | Views : 442

 Hi All,
I'm a novice to ASP.NET and using the ChangePassword Control for changing the password in my module. But I'm unable to do so. My code is as follows
protected void ChangePassword1_ChangingPassword(object sender, EventArgs e)
    {
        Members clsmem = new Members();
        MembershipUser CurrentUser = Membership.GetUser();
        TextBox OldPassword = (TextBox)this.ChangePassword1.ChangePasswordTemplateContainer.FindControl("CurrentPassword");
        TextBox txtNewPassword = (TextBox)this.ChangePassword1.ChangePasswordTemplateContainer.FindControl("NewPassword");
        TextBox ConfirmPassword = (TextBox)this.ChangePassword1.ChangePasswordTemplateContainer.FindControl("txtConfirmPassword");
& ...

Go to the complete details ...