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  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
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.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Need help with printing
Previous Previous
 
Next Next
New Post 3/6/2008 1:28 AM
Unresolved
User is offline onishiro
137 posts
9th Ranked


Need help with printing 

I have a module in which I have a button, when I press the button I want to open a new windows showing some data ready to be printed without  the dotnetnuke skin.

I want to do it calling a edit control of my module in a new window without the dotnetnuke skin, but I don't know how to do it.

Any help or alternatives?

Thanks in advance.

 

 
New Post 3/6/2008 8:23 AM
User is offline ech01
628 posts
7th Ranked




Re: Need help with printing 

'custom parameters to send back to the page
Dim params As String = "&date=" & _date & "&loc=" & _loc & "&mode=print&"
imgPrinter.OnClientClick = "window.open('" & NavigateURL(TabId, "view", "mid=" & ModuleId.ToString, params & "&SkinSrc=" & QueryStringEncode("[G]" & Skins.SkinInfo.RootSkin & "/" & glbHostSkinFolder & "/" & "No Skin"), "ContainerSrc=" & QueryStringEncode("[G]" & Skins.SkinInfo.RootContainer & "/" & glbHostSkinFolder & "/" & "No Container"), "dnnprintmode=true") & "');"


www.blackhawksurfaces.com | www.nlsales.com | www.midwestfilmandvideo.com
 
New Post 3/6/2008 11:31 AM
User is offline Sebastian Leupold
14222 posts
www.deutschnetnuke.de
1st Ranked












Re: Need help with printing 

usually the print option should be part of the skin, the would release the module developer from any action to be taken.

for better options, I suggest to have a look at free TemplatePrint SkinObject from dnnjungle.vmasanas.net


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 4/16/2008 9:38 AM
User is offline Phil Biggs
52 posts
10th Ranked


Really simple Print Page solution 
Modified By Phil Biggs  on 4/16/2008 12:39:30 PM)

 

After reading some posts on the subject, I came up with this really simple solution for adding a print page link to a skin:

 

 

<a class="printlink" target="window2" href="/default.aspx?tabid=<%= PortalSettings.ActiveTab.TabID %>&SkinSrc=[G]Skins\MySkin\PrinterFriendly&ContainerSrc=[G]Containers\MyContainer\PrinterFriendly">Print this page >
&nbsp;&nbsp<img id="" border="0" align="middle" src="<%= SkinPath %>printer_small.gif" alt="Print this page" title="Print this page" /></a>

It's pretty much self explanatory. You get the current TabID from <%= PortalSettings.ActiveTab.TabID %> and use this to form a URL that includes SkinSrc and ContainerSrc parameters. Point these parameters to your print friendly skin and container files (less the .ascx extension). Include a printer icon in the hyperlink if you so desire. Use [G] for a host skin and [L] for a site level skin.

Easy.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Need help with printing
 


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.

 


Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting
Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com

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