Solved

Open spry data in new window for print-friendly version

Posted on 2008-06-20
5
541 Views
Last Modified: 2010-04-06
Basically, you have a print button, which when clicked, opens a new window containing a simplified data listing for printout. Does all the SPRY dataset configuration need to be repeated on the new page or can it somehow be called from cache and just laid out in a printer-friendly format?
0
Comment
Question by:pbaylis
  • 4
5 Comments
 
LVL 12

Accepted Solution

by:
rowejd earned 500 total points
ID: 21835816
It depends...there's a WHOLE lot of different datasets you can do with SPRY, but not sure which one you're referring to.

But with most, you could place the data you need in cookies or session variables for quicker access to the dataset.  However, it's usually just as simple and almost the same in terms of overall server usage to simply repeat the configuration on the new page that is styled differently.

Another option, however, you may consider...I don't know how much you use CSS, but you can set a completely different style sheet for print than you have for screen display.  And it's actually a very painless process...much easier than creating an entirely new page that you have to have different styles for anyway.

Check out this article:

http://meyerweb.com/eric/articles/webrev/200001.html
0
 
LVL 12

Expert Comment

by:rowejd
ID: 21835826
Here's another article on the same idea, by the same author, but a bit more extensive:

http://www.alistapart.com/articles/goingtoprint/
0
 
LVL 12

Expert Comment

by:rowejd
ID: 21858833
Does this help or is there something else I can do for ya?  Glad to help more if needed.
0
 
LVL 12

Expert Comment

by:rowejd
ID: 22080044
Is there anything more I can help you with or is this enough to assign points & close out this question?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now