Silverlight Tips provides simple and useful tutorials and tips with real life examples, live demos and sample codes to download.
About authors:
Damon Serji
Damon Serji,
Silverlight developer working at Metia in London.
Gavin Wignall
Gavin Wignall,
Interactive Design Lead, working in design for over 10 years, the last 3 being in Silverlight.
Allan Muller
Allan Muller,
Developer, working on various types of Silverlight and WCF projects.
Recent comments

How to programmatically add a 'mailto' link in silverlight:

Add the below line to your .xaml.cs file to open mailto (email link) when an event gets fired (i.e. HyperlinkButton is clicked or etc):

HtmlPage.Window.Navigate(new Uri("mailto:tips@silverlighttips.com"));

if HtmlPage is not recognised in your Visual Studio, it is because you are missing an assemblly reference, so simply add this reference to the very top of your page:

using System.Windows.Browser;

Posted by Damon Serji on 24. August 2009 16:44 under: Basic
 with 5 Comments

Comments

BigDubb:

One thing I'd like to add on this topic. When utilizing mailto with deep linking...  

replace the # with %23

Posted 9/3/2009 2:33:57 PM

Damon:

Thanks for your comment BigDubb, the RSS link (http://silverlighttips.com/syndication.axd) is under search box in Syndication section. I am in process of updating layout of the site, hopefully it will make features such as RSS clearer then.

Posted 10/25/2009 5:31:01 AM

Pingback from silverlightweb.com.cn

Adding ‘mailto’ link Silverlight Web

Posted 12/10/2009 7:57:13 PM

Pingback from 392.myipgirl.com

1984 - 2003 @ Substitute Toyota Tercel, Toyota Tercel Wheels Headlight Bulb - 392.myipgirl.com

Posted 5/31/2010 6:35:28 AM

Pingback from canonprinterdriver.interactiveinfonet.info

Canon printer driver - Canon ip1000 - Download canon ip1000 printer driver

Posted 8/20/2010 9:27:05 PM

Add comment


(Will show your Gravatar icon)

biuquote
  • Comment
  • Preview