Solved

Open spry data in new window for print-friendly version

Posted on 2008-06-20
5
527 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
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…

757 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

21 Experts available now in Live!

Get 1:1 Help Now