Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 December 30th, 2008, 01:37 AM
Authorized User
 
Join Date: Dec 2007
Posts: 65
Thanks: 9
Thanked 2 Times in 2 Posts
Send a message via AIM to sandeepgreaternoida Send a message via MSN to sandeepgreaternoida Send a message via Yahoo to sandeepgreaternoida
Talking how to email some page to the friend

Here in p2p form i saw ..some text telling " email this page to your friend"

how this is possible in Asp.net 2.0 ...Pls tell me in detail.
> email some page to a friend.
> invite friend

thanx
sandeep
 
Old December 30th, 2008, 03:27 AM
Authorized User
 
Join Date: Dec 2008
Posts: 50
Thanks: 1
Thanked 5 Times in 5 Posts
Default

depends really on what you are trying to do, you can send the link to the page which should be easy, but if you want to send the whole page as attachment which does not makes sense and it a bit harder.

you can use some gadget from addthis.com or clearspring.com

thanks
The Following User Says Thank You to zeronexxx For This Useful Post:
sandeepgreaternoida (January 1st, 2009)
 
Old January 2nd, 2009, 12:04 PM
Wrox Author
 
Join Date: Jul 2008
Posts: 74
Thanks: 1
Thanked 8 Times in 8 Posts
Send a message via MSN to msellers
Default

As mentioned in the above post it is easy to use the services of addthis.com to quickly add it to a web application without doing anything on your part.

You can also build a simple user control that would do this as well, however, I strongly recommend thinking about security implications of doing something like that. As e-mail a friend links are one of the most common exploit points for spammers. A Captcha is a must-have in my opinion if you are going to make it publicly visible.
__________________
Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

My blog for .NET and DotNetNuke info

Author of "Professional DotNetNuke Module Programming"

Tech Editor on "Visual Studio 2010 six-in-one" and "Pro C# 4.0"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Friend Class in C# mehdi62b C# 11 March 13th, 2008 06:54 PM
Friend access modifier acts as private sandeep ASP.NET 2.0 Professional 2 July 19th, 2007 07:35 AM
Friend WithEvents kscase Visual Basic 2005 Basics 1 May 3rd, 2007 03:16 PM
friend adder in vb.net renjininair_2000 C# 1 March 13th, 2006 01:01 PM
Friend Adder in VB.Net renjininair_2000 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 0 March 11th, 2006 02:34 AM





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