Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0how to print a module with multiple included asp panels how to print a module with multiple included asp panels
Previous
 
Next
New Post
5/14/2008 8:01 AM
 

I have a module that has a number of panels , let me call them A,B,C, that are made viisble and invisible by user events on the module controls.

at a certain point when panel C is visible I want the user to activate the dnn print icon to print the contents of the panel displayed in the module.

However, the print page contains the original panel A not panel C. 

 

So is there a way to specify not only moudule ID but panel name to the DNN printmodule via the query string or some otherr means?

Or is there a way to make panel C the default panel to display in the print page .

A second approach is to have the user use the print preview menu option of their browser , but I need to do some print friendly processing before the printing so is there a way to have the browser's print preview selected event postback to the server so that I can activate a handler to do my custom formatting?

 

Thanks for the assistance

Dave Clay

 
New Post
5/14/2008 12:54 PM
 

Dave,

Depending on how your module is configured you can look in the querystring for the print option value, and then update your display accordingly.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/15/2008 2:29 PM
 

how module configured ?  what do I need to look for, which area of module settings?

here is the query string when i click the print icon in upper corner

http://localhost/performancepath/Employee/Coaching/tabid/90/mid/412/dnnprintmode/true/Default.aspx?SkinSrc=%5bG%5dSkins%2f_default%2fNo+Skin&ContainerSrc=%5bG%5dContainers%2f_default%2fNo+Container

what do you mean - update my display accordingly

 

thanks Dave Clay

do you have a tutorial that i might look at that covers these topics?

 
New Post
5/16/2008 11:02 AM
 

I don't have a tutorial on this at this time....however a short version would be this.

If(Request.Querystring["dnnprintmode"] != null)
{
    //Setup the display

}


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/16/2008 3:34 PM
 

If you could add more details then I would understand your assumptions.

do I assume that

1. the if statement is placed in the PageLoad method of the module? or in another method?

2. do I assume that 'set up display' means set the current panel to panel C which already is the currently displayed panel but panel A is displayed in the response to dnnprintmode event.

 

why does would panel A display in the print friendly web page in response to the dnnprintmode event when panel C is displayed when the event occurs?

 

thanks for your responses

Submit

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0how to print a module with multiple included asp panels how to print a module with multiple included asp panels


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out