Solved

Silverlight <Hyperlink> mailto:

Posted on 2013-06-18
1
1,008 Views
Last Modified: 2013-07-07
I have a Silverlight application & Website created using visual studio 2010.

I want to open outlook when I click the hyperlinkbutton in my application.  

When I click allow button its opening a new browser window (IE 10 ) and then Opens Outlook.
<HyperlinkButton HorizontalAlignment="Left"  NavigateUri="mailto:abc@xyz.com" >

but in that new browser window it gives error message -  
Navigation to the webpage was canceled  

I  also checked with TargetName= "_self" , _blank; but still i am getting the same error
 
I tried using the answer suggestedin http://www.experts-exchange.com/Microsoft/Development/Microsoft_Programming/WPF_and_Silverlight/Q_27023697.html 

It does work for me, but I cannot go to each user's machine and open msconfig.exe and make changes as mentioned in that site ....

My only aim is to open outlook/default email from my silverlight page , put send email to:
abc@xyz.com and put something in subject of that email...

What should I do... please help... thanks a lot
0
Comment
Question by:at999
1 Comment
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 39258182
Hi, at999.

I'll start by saying that I know nothing about Silverlight.  That said, a mailto link should create a new email using the default email client on the computer the ink is invoked on.  For example, open IE and enter "mailto:abc@xyz.com?subject=Testing" (without the quotes) in the address line.  If Outlook is your default email client, then the result should be a new Outlook email addressed to abc@xyz.com with a subject of "testing".  If the UAC asks you if you want to allow the web page to perform the action, then uncheck the box that tells IE to perform the check every time.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now