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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


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.

 


DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com
Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au
Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com

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