Solved

Open spry data in new window for print-friendly version

Posted on 2008-06-20
5
551 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jquery progress bar 3 44
Javascript_Set_dropdown_value 7 34
how can i get the string decoded ? 2 14
Make Session back to empty 9 16
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 …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

821 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