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  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
 


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
5075 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
5075 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.

 


ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com

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