Waspman
Posts: 948
|
Posted: 01/27/2011, 12:14 PM |
|
I've done this before (many years ago) can't remember how to do this anyone any ideas?
Just capture grid from page and stick it in an email
_________________
http://www.waspmedia.co.uk |
|
|
S_A
Posts: 29
|
Posted: 02/03/2011, 10:47 PM |
|
Wish I could help, but I'm also looking for the same thing...any ideas yet?
|
|
|
TheunisP
Posts: 342
|
Posted: 02/04/2011, 12:12 AM |
|
I had a quick peek seems the page content - that is shown at the end is stored in the MainHTML var - so I suppose using an event after the page is done e.g. before output or unload you can grab the whole of the page and mail it?
|
|
|
Waspman
Posts: 948
|
Posted: 02/04/2011, 12:37 AM |
|
Yeah that sounds about right, but I just need one grid. I'll have a mess around and let ya know...t
_________________
http://www.waspmedia.co.uk |
|
|
Waspman
Posts: 948
|
Posted: 02/04/2011, 5:24 AM |
|
OK this is how I did it:
I created a separate page (grid only) that uses the same filters as the main page, but took off any CSS styling so it would work in an email.
In the before output event of this page(separate one) I saved the MainHTML to a session variable.
Then on the main page where the order is approved I "iframed" the page into a 0 by 0 iframe with no border so it can't be seen.
Then when I build the email after the approval form is submitted I call the session as part of the body and I get a perfectly laid out table with all the items on it.
_________________
http://www.waspmedia.co.uk |
|
|
Waspman
Posts: 948
|
Posted: 02/04/2011, 7:39 AM |
|
or 0 pixel by 0 pixel iframe
_________________
http://www.waspmedia.co.uk |
|
|