Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  how to print a module with multiple included asp panels
Previous Previous
 
Next Next
New Post 5/14/2008 5:01 AM
Resolved
User is offline David Clay
5 posts
10th Ranked


how to print a module with multiple included asp panels  

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 9:54 AM
User is offline Mitch Sellers
5028 posts
www.mitchelsellers.com
3rd Ranked




Re: how to print a module with multiple included asp panels  

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
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.
View Mitchel Sellers's profile on LinkedIn

Visit mitchelsellers.com for DotNetNuke tutorials, modules and technical help

Custom DotNetNuke Services Available (Development, etc).

My sites are hosted with 3Essentials
 
New Post 5/15/2008 11:29 AM
User is offline David Clay
5 posts
10th Ranked


Re: how to print a module with multiple included asp panels  

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 8:02 AM
User is offline Mitch Sellers
5028 posts
www.mitchelsellers.com
3rd Ranked




Re: how to print a module with multiple included asp panels  

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
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.
View Mitchel Sellers's profile on LinkedIn

Visit mitchelsellers.com for DotNetNuke tutorials, modules and technical help

Custom DotNetNuke Services Available (Development, etc).

My sites are hosted with 3Essentials
 
New Post 5/16/2008 12:34 PM
User is offline David Clay
5 posts
10th Ranked


Re: how to print a module with multiple included asp panels  

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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  how to print a module with multiple included asp panels
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Web Valley
Website design, Database development
www.webvalley.com
UK DotNetNuke CMS installation, hosting & support
UK based installation, branding, customising, integration, hosting, training, support and maintenance services for DotNetNuke
www.deburca.co.uk
Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP