1. Drag a hyperlink control on the page.
2. Set NavigationURL in the code
VB.NET
Hyperlink1.Text = "Click this to mail me"
Hyperlink1.NavigationUrl = "mailto:so*****@somewhere.com"
C#
Hyperlink1.Text = "Click this to mail me";
Hyperlink1.NavigationUrl = @"mailto:so*****@somewhere.com";
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***********************************************
Think Outside the Box!
***********************************************
"Paolo" <Pa************@TheCornerStore.com> wrote in message
news:Av******************@fe08.lga...
While it is not a problem to create a mailto link in HTML,
<a href=
"mailto: <%# Databinder.Eval(Container.DataItem,"StoreEmail") %>"<%#DataBinder.Eval(Container.DataItem, "StoreEmail")%></a>
I would like to do so using an ASP.Net 2. 0 hyperlink, or some other
control (in Visual Web Developer 2005). What is the best way to do so?
TIA!