Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 8th, 2009, 10:31 AM
Authorized User
 
Join Date: Oct 2009
Posts: 31
Thanks: 11
Thanked 0 Times in 0 Posts
Default 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
 
Old October 9th, 2009, 06:56 AM
Authorized User
 
Join Date: Oct 2009
Posts: 31
Thanks: 11
Thanked 0 Times in 0 Posts
Unhappy Silly Mistake

So silly of me....

I should have used "PasswordRecovery1.UserName" instead of simply trying "UserName.Text"...





Similar Threads
Thread Thread Starter Forum Replies Last Post
PasswordRecovery receiving error Specified cast is not valid proffitt711 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 August 21st, 2009 09:01 AM
Disappearing UserName & Question within Customized PasswordRecovery Question Template eddiemcham ASP.NET 3.5 Basics 13 June 13th, 2009 04:23 AM
Ch16 PasswordRecovery won't email smiller BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 October 11th, 2006 03:59 PM
Data Retrival xbenx Classic ASP Basics 22 January 18th, 2006 06:17 PM
Data Retrival xbenx Classic ASP Professional 0 January 4th, 2006 10:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.