Last post Jan 14, 2006 01:38 PM by dagilleland
May 04, 2005 12:31 PM|gr8ship|LINK
I'm a dnn newbie and having fun getting a site configured. One problem I haven't bee able to figure out is:
How can I print module content that is dynamic?
I have a custom module that consists of a text box, a submit button, and a label. Search criteria is entered in the textbox and the submit button does a database lookup and the results are applied through code to the label's text property.
When I click the print icon, I get a new window that contains the blank controls - no text in the text box and no results in the label.
How can I print the results?
Jan 14, 2006 01:38 PM|dagilleland|LINK
I, too, have this question (& I've seen it in the sub-forums as well), so I thought I would bring it to the top again.
As a side note, it appears that when the PrintModule icon is clicked, it will not preserve any query string values that the module on the screen may have received from postbacks. That is why the module show up in the print window just as it would if the
page were visited for the first time.
It's really a question of user expectation in the design of the PrintModule, I think. To see what I mean, just try this with the Survey module:
After Step 4, the user might expect to see the survey results in the print window. Instead, they simply see the unanswered survey in the print window.