B
Brian Bischof
I'm have a form with a datagrid showing a checkbox for each row. I want the
user to be able to click a checkbox and then click a button that sends an
email similar to how the HREF MailTo: works. I can't embed the MailTo: in
the webpage b/c the button has to determine which row has a checkbox, pull
data from SQL and then build the email content. I originally wrote the code
using System.Web.Mail classes but the client doesn't like it b/c they want
each user's own email app to open so they can modify the email and
add/remove recipients. One option is to have an Href link on each row of the
table that they can click on, but this results in lots of data manipulation
as well as tons of excess HTML on the page.
Does anyone know how to emulate the HREF MailTo: functionality in an ASP.NET
page so I can create the link dynamically and let the browser control
opening the user's default email program with the data filled in already
from this dynamic HREF link?
Thanks,
Brian
user to be able to click a checkbox and then click a button that sends an
email similar to how the HREF MailTo: works. I can't embed the MailTo: in
the webpage b/c the button has to determine which row has a checkbox, pull
data from SQL and then build the email content. I originally wrote the code
using System.Web.Mail classes but the client doesn't like it b/c they want
each user's own email app to open so they can modify the email and
add/remove recipients. One option is to have an Href link on each row of the
table that they can click on, but this results in lots of data manipulation
as well as tons of excess HTML on the page.
Does anyone know how to emulate the HREF MailTo: functionality in an ASP.NET
page so I can create the link dynamically and let the browser control
opening the user's default email program with the data filled in already
from this dynamic HREF link?
Thanks,
Brian