This topic is locked
[SOLVED]

 add button on print page to email

6/25/2018 9:37:13 AM
ASPRunner.NET General questions
H
heilmanmd author

Hopefully I'm not the only one that is looking to email the Print Page HTML ( save paper, print page is formatted , colorful, etc... )
I'm able to email a List Page's HTML, works great.
In emailing the List Page's HTML have a BUTTON on the list page which takes care of everything.
Before Client captures the html using Jquery
var tabhtml = $('#summarytab').prop('outerHTML');

params["tabhtml"] = tabhtml;
Server side then sends the email using Runner mail...
htmlbody = parameters["tabhtml"];
Went to add a button to the Print Page and ...
Buttons are not allowed on the print page???
Any work around?? Thoughts??
Appreciated

H
heilmanmd author 6/27/2018

Ok, figured out how to do it... so here it goes...
you can't add a button on a print page, doesn't allow it...
but you can add a button on a list page...
So...
Made the list page look like a print page and added at the top an button
the before client uses jquery to capture the table html of the list page
the client then emails
and whala... success !!!!
SOLVED !!!