hi, I am trying to create a link for ones email address where you click the address and it open up the users default email client (outlook or whatever ). So I declare my process as a process and then do myprocess.start("mailto:") and I get an error that says. "An attempt was made to reference a token that does not exist ". Ultimatly I want to append an email address to the end of the mailto: , which I have tried but I get the same error so I'm simplifying till I get it working.
my html looks like
<code> <asp:linkbutton id="linkemail" Font-Size="10" CommandName ="EmailButton" Commandargument = '<%#databinder.eval(container.dataitem, "email")%>' text='<%#databinder.eval(container.dataitem, "email")%>' Runat="server" width="100"></asp:linkbutton> </code>
and again my
vb looks like
Dim myprocess As Process = New Process
myprocess.Start("mailto:")
(I have cut out the cammandarguments till I can get at least a hardcoded email to work )
I also tried using a <asp:hyperlink> with the url as "mailto:" and this opens up the client but I need to have a non hardcoded value for the email address and it doesn't want to take any concantination with the mailto:
Any help is greatly appreaciated
Thanks
Raif