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  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Controlling Print visibility?
Previous Previous
 
Next Next
New Post 5/14/2008 9:07 PM
User is offline Walkingpig
16 posts
10th Ranked


Controlling Print visibility? 

Hey all,

After thinking about this, and doing some research, the closest i came to an answer was this: http://www.dnnstuff.com/Support/Forums/tabid/189/view/topic/postid/119/Default.aspx

Basically my module has a series of controls such as dropdownlists, radio's that control what the user see's, when i use the skins 'print' button, i get all that information on the print out, which is not good!

At first i considered using Codebehind to Hide the buttons if the querystring had dnnprintmode/true , however when it launches the printmode page, there is no pass of the current v13wstat3? so any modification to the data on the page needs to be redone via the controls i have inserted- so they need to be visible.

Secondly i thought about using CSS to toggle Display:none; this seems to have ZERO effect on anything

my CSS is as such:

@media print
{
.print
{
    display:none;
    color:Blue;
    visibility:hidden;
  
}  
   
}

This is on the bottom of my Module.CSS file. I have attemped to set controls, modify Datalist widths, and even a simple <span class="print">this text is not here for print"</span>. None of these approaches work with the CSS in any way, infact color change doesn't work either.

For the many of you who must have been in the situation before is there, A: A way to make the CSS behave as i am expecting it to, or B: Transport the v13wstat3 to the Printmode of DNN??

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Controlling Print visibility?
 


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.

 


Icthus Technologies
Building Faith on the Internet
www.icthustech.com
Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com
DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com

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