Tips and Tricks
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Tips and Tricks
Message Icon Topic: Change default Print to ALL pages Post Reply Post New Topic
Author Message
bdean
Newbie
Newbie
Avatar

Joined: 31 Jul 2007
Location: United States
Online Status: Offline
Posts: 6
Quote bdean Replybullet Topic: Change default Print to ALL pages
    Posted: 13 Aug 2007 at 8:20pm
CR .NET Viewer Tip - When trying to print to pdf the export window will popup with the Page Range selected by default.  In most cases it is desirable to print ALL pages.  To have "ALL" selected by default you will need to edit the export.js file.
 
Find the following sections of code:
 
 
<input type=\"radio\" id=\"radio1\" name=\"isRange\" value=\"all\"
 
<input type=\"radio\" id=\"radio2\" checked name=\"isRange\" value=\"selection\"
 
move the "checked" from the radio2 to the radio1 as follows:
 
<input type=\"radio\" id=\"radio1\" checked name=\"isRange\" value=\"all\"
 
<input type=\"radio\" id=\"radio2\" name=\"isRange\" value=\"selection\"
 

It is important to only change the export.js files which are in crystalreportviewers115 directories. You may break functionality of other Crystal Reports .NET applications if you change the wrong export.js files.

Hope this helps...stumbled onto this when trying to find out why the export function wasn't working on my deployment server.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.