C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




password recovery


Posted Date: 28 Aug 2008      Total Responses: 2

Posted By: Kshitij Bhargava       Member Level: Gold     Points: 1


how to recover password from password recovery control in asp.net2.0
also how to implement email functionality so that user can recover their password through emails



thnks


kshitij




Responses

Author: vipul    28 Aug 2008Member Level: DiamondRating:     Points: 6
hi,
i used this way
<asp:PasswordRecovery ID="PasswordRecovery1" Runat="server"
BackColor="#EFF3FB" Font-Names="Verdana" Font-Size="0.8em" BorderStyle="Solid"
BorderPadding="4" BorderColor="#B5C7DE" BorderWidth="1px">
<TitleTextStyle Font-Size="0.9em" Font-Bold="True" BackColor="#507CD1" ForeColor="White"></TitleTextStyle>
<TextBoxStyle Font-Size="0.8em"></TextBoxStyle>
<InstructionTextStyle Font-Italic="True" Font-Size="0.8em" ForeColor="Black"></InstructionTextStyle>
<LabelStyle Font-Size="0.8em"></LabelStyle>
<SuccessTextStyle Font-Size="1.2em" Font-Bold="True" ForeColor="#507CD1"></SuccessTextStyle>
<HyperLinkStyle Font-Size="0.8em"></HyperLinkStyle>
<SubmitButtonStyle Font-Names="Verdana" Font-Size="0.8em" BorderStyle="Solid" BorderWidth="1px"
BorderColor="#507CD1" BackColor="White" ForeColor="#284E98"></SubmitButtonStyle>
<FailureTextStyle Font-Size="0.8em" ForeColor="#FF0000"></FailureTextStyle>
</asp:PasswordRecovery>

but PasswordRecovery only take user name so that you first check that username is valid or not if username is valid then fetch their passeord and email from the database and then send him using this event
protected void PasswordRecovery1_SendingMail(object sender, MailMessageEventArgs e)
{

}

vipul,
http://dongavipul.blogspot.com



Author: abhay    29 Aug 2008Member Level: GoldRating:     Points: 4
<asp:PasswordRecovery ID="PasswordRecovery1" runat="server"
onsendingmail="PasswordRecovery1_SendingMail" >
</asp:PasswordRecovery>
protected void PasswordRecovery1_SendingMail(object sender, MailMessageEventArgs e)
{


}


Post Reply
You must Sign In to post a response.
Next : Treeview node select without postback
Previous : Include file
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

fax server

Contact Us    Privacy Policy    Terms Of Use