G
Guest
Hi,
I'm implementing a printer friendly feature for all the pages on a web site.
I'm separating the header, content, and footer into separate ascx files,
which are contained in the main file. In the mail file I have a link button
which, supposedly, when clicked on, passes the current content page's url and
page title to the printer friendly page, which has a placeholder for the
content page. I could do this with session variables, but if I do it this
way, how do I make a function common to all to accomplish this? I can't use
a class file with session variables, so I'm trying to post all the content
pages to the printer friendly page but have had no luck so far. Can I use
javascript for this? Or can this be accomplished with code behind? Any
suggestions and/or comments will be greatly appreciated!
Sorry for the long message and thanks in advance!
-ST
I'm implementing a printer friendly feature for all the pages on a web site.
I'm separating the header, content, and footer into separate ascx files,
which are contained in the main file. In the mail file I have a link button
which, supposedly, when clicked on, passes the current content page's url and
page title to the printer friendly page, which has a placeholder for the
content page. I could do this with session variables, but if I do it this
way, how do I make a function common to all to accomplish this? I can't use
a class file with session variables, so I'm trying to post all the content
pages to the printer friendly page but have had no luck so far. Can I use
javascript for this? Or can this be accomplished with code behind? Any
suggestions and/or comments will be greatly appreciated!
Sorry for the long message and thanks in advance!
-ST