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


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  How do you pass a query string value to the print page
Previous Previous
 
Next Next
New Post 12/12/2007 11:42 PM
User is offline ckb
25 posts
10th Ranked


How do you pass a query string value to the print page 

I'm able to read a request.querystring in a dnn module, but if I click the print icon, I need to pass that same query string to the new page that allows a user to print.

For instance, my query string is: http://localhost/Dot61/Default.aspx?tabid=58&gid=356a634d-6233-4555-a3fa-726d66a20f4a. I need to pass that gid to the print page as well as all the info that dnn needs to print the page.

Thanks.

 
New Post 12/14/2007 6:29 AM
User is offline ech01
637 posts
7th Ranked




Re: How do you pass a query string value to the print page 

i have a custom module that has it's own printer icon. I pass in a _date and _loc parameters. I redirect to the ascx, but use the print skin in the URL.

Dim params As String = "&date=" + _date + "&loc=" & _loc + "&"
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") & "');"


Erik Hinds
Risdall Marketing Group
#1 Web Design Agency in the World

www.risdall.com | www.risdall.net | erik AT risdall DOT-COM

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  How do you pass a query string value to the print page
 


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.

 


Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com
telerik
telerik r.a.d.controls suite is the most innovative and comprehensive toolset for ASP.NET development, tailored for seamless integration with the DotNetNuke project. This integrated collection of controls allows professionals to build web-solutions with the UI richness and responsiveness of desktop applications.
dnn.telerik.com
CrystalTech
CrystalTech Web Hosting™ provides first-class service and support. Our value-packed ASP.NET plans offer DNN installation, SQL 2005 and up to 100 domain names starting at only $16.95 per month!
CrystalTech.com

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