Skip to main content
Home Forums Silverlight Programming Programming with .NET - General howto launch mailto hyperlink without the xtra window
3 replies. Latest Post by sbrownell on October 19, 2009.
(0)
sbrownell
Member
3 points
5 Posts
10-19-2009 11:48 AM |
Hello,
I have a hyperlink button on my main page as follows:
<
However, when I execute this code I get an extra blank browser window along with my local email window. Does anyone no how to do this without the extra browser window poping up?
Thanks.
meidianto
583 points
124 Posts
10-19-2009 12:12 PM |
Do it like this:
<HyperlinkButton x:Name="lnkWebmaster" Content="Contact the Webmaster" HorizontalAlignment="left" Canvas.Left="8" Canvas.Top="14" Foreground="#FFE2C391" TargetName="_self" />
FuryDiamond
Contributor
3870 points
766 Posts
10-19-2009 12:32 PM |
You can set the TargetName="_self"
10-19-2009 12:40 PM |
TargetName="_self"
bingo... now that's the answer I was looking for.