Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Open spry data in new window for print-friendly version

Posted on 2008-06-20
5
Medium Priority
?
581 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
This article discusses how to create an extensible mechanism for linked drop downs.
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…
Suggested Courses

916 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