troubleshooting Question

Add function to a Button event in asp.net  --  Environment is Visual Studio 2012  asp.net/Visual Basic

Avatar of jampost
jampostFlag for United States of America asked on
ASP.NET* syntaxMicrosoft Visual StudioVisual Basic.NETWeb Development
2 Comments1 Solution231 ViewsLast Modified:
I need a button called email to take the user to their email program and fill in my email address jmtillery@jandmmfg.com and subject=Question/Comment. This currently works on my website www.jandmmfg.com, but I am changing some things such as putting buttons where there is just text links. Other buttons will just move the user to different pages. I am not sure how to combine the button code with the Mailto or the simple link code. I need to know the syntax of adding function to button code. See below samples.    

<input id="Button1" type="button" value="email"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<a href="mailto:jmtillery@jandmmfg.com?subject=Question/Comment"title="jmtillery@jandmmfg.com"><b>email</b></a>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<a href="Equipment.aspx"><b>Equipment</b></a>

Thank you for any help.  --  Joe
ASKER CERTIFIED SOLUTION
Shalu M

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros