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

PasswordRecovery issue

P: n/a
Does anyone know how to change the current mode in the
PasswordRecovery control?

I have an instance on the "login.aspx" page and, after the user has
successfully had their password emailed to them I was hoping I could
re-set it back to the "enter username", (or "enter password answer" as
the name's already entered), so they can try again. (Or even just show
a button which, when pressed, causes the same thing).

Any suggestions for how to do this?

I can inherit from the PasswordRecovery control, if required.
Nov 15 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
There are events that you can use on each of the controls. With
PasswordRecovery, you can do the work in SendingMail
(http://msdn2.microsoft.com/en-us/lib...dingmail.aspx).

You will then reset the password using password change abilities on the
MembershipUser object and aler the message:

e.Message.Body = "{your message here}"

Then let the system do its business.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
<pa*********@wcbs.co.ukwrote in message
news:8a**********************************@y5g2000h sf.googlegroups.com...
Does anyone know how to change the current mode in the
PasswordRecovery control?

I have an instance on the "login.aspx" page and, after the user has
successfully had their password emailed to them I was hoping I could
re-set it back to the "enter username", (or "enter password answer" as
the name's already entered), so they can try again. (Or even just show
a button which, when pressed, causes the same thing).

Any suggestions for how to do this?

I can inherit from the PasswordRecovery control, if required.

Nov 15 '07 #2

P: n/a
There are events that you can use on each of the controls. With PasswordRecovery, you can do the work in SendingMail (http://msdn2.microsoft.com/en-us/lib...ontrols.pa...).
>
You will then reset the password using password change abilities on the MembershipUser object and aler the message:

e.Message.Body = "{your message here}"

Then let the system do its business.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
I don't think I understand what you're suggesting. Do you mean all I
need to is clear the entered password and the control will revert back
to the "enter password" stage?

I'm not trying to edit anything with the email, (that works as
required), but do need to change the control's stage, so that the user
can get their password re-sent to them, or even choose another
username.
Nov 21 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.