I would like my user to be able to click on a link button, this button then goes to outlook and creates an email and popluates the To.. section with the details on the page the user has just left. I have never done anything like this before so I am not even sure where to start.
Thanks
Louisa
<a href="http://links.10026.com/?link=mailto:stevenbey@.asp.net?subject=test">Email</a>
To do this with a button you will need to assign the mailto to the location via JavaScript. For example:
<button onclick="location = 'mailto:stevenbey@.asp.net?subject=test'">Email</button>
I actually wanted the user to be able to pick a certain person in a grid and then the email address and the name from the grid to be passed on, so that differing emails could be sent depending upon who the user choses in a grid. How would I be able to pass a value to this?
Thanks
Louisa
Use a DataGrid, DataList, or Repeater. Whatever search method you prefer whether on forums or websites will give you a plethora of information.
You can have the email data from a table column and just not display it on the screen.
0 comments:
Post a Comment