Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email link in a GridView

Status
Not open for further replies.

dgerdner

Programmer
Mar 30, 2005
41
US
I'm binding a sqldatasource to a gridview on a webpage. One of the column's is named contact_email.

I'd like to display that column's value with a hyperlink that will automatically open the client's email program, using the value in contact_email as the default "TO:" address.

Everything I've found so far fails to work. Any ideas?
 
I think you need to put that string as:
"mailto:xyz@abc.com".
This link will automatically open default mail application on client to compose new mail with 'To' address specifying 'xyz@abc.com'.

Sharing the best from my side...

--Prashant--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top