UserName retrival from PasswordRecovery Control
Hi...
I have made use of the "PasswordRecovery" control in the website...
I want to send mail to the user notifying his new password...
I had previously configured "ToAddress" to my email account in "PasswordRecovery1_SendingMail" event...
But now i want to configure the "ToAddress" to the email id of the user...
For this i wanted to get the "username" which will be entered by the user in the password recovery control's textbox... But i am not getting the name of textbox which holds the username...
I tried "UserName.Text" to retrive the information in the code behind file.. But that was an error...
So... How can I configure the "ToAddress" to the email id of the user...
Please help me...
Thanks...
Last edited by varunbwj; October 9th, 2009 at 12:29 AM..
Reason: I thought that my question (previously) was unclear
|