Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 7th, 2004, 02:16 PM
Registered User
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Crystal 10 Viewer ASP.Net reprompts for parameters


  Sorry, but I can't seem to get any help with this on the Crystal Decisions web site, so I'm hoping someone here can help.

  I have an ASP.Net Page created using Visual Studio.Net 2003 which gathers values for parameters for a Crystal Report, stores them in the web session, and then does a redirect to a page that has on it two objects only: a Crystal Report object (not an embedded report, but an object pointing to an external stored report) and a Crystal Viewer version 10 control.

  On the page with the CRViewer, I'm setting the parameter values for the report in the Page Init subroutine as opposed to the Page Load, and the report runs well, with one exception. Sometimes when users simply 'go to' specific pages (using the viewer controls), or even just page forward and back, they are reprompted for parameters. Also, I'm using the activex printer control, so when users hit the viewer control's print button, it brings up the standard printer dialogue and lets them choose the printer. When they print the entire report, everything works well, However, occasionally when they choose to print one or two pages in the middle of the report, they are repropmted for the report's parameters.

  There's a whole discussion about page persistence in the Crystal Reports 10 'Additional' SDK, but it's WAAAYY over my head. Is that what I'm missing here? All I want to do is stop the viewer from reprompting for values and have it just display or print the correct information for that page! What do I have to code in order to get this to work correctly, and why should I have to code anything at all? How dumb is it that the viewer is so flawed that it won't really work the way it's supposed to?

  Any help or guidance would be greatly appreciated.

Karen Grube
[email protected]

Karen L Grube

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with Crystal Reports Viewer in ASP.NET jaucourt Crystal Reports 2 February 24th, 2012 03:39 PM
problem with crystal activex viewer in asp.net NagarajuK Crystal Reports 0 November 22nd, 2007 10:20 AM
asp.net with crystal activex viewer NagarajuK Crystal Reports 0 November 22nd, 2007 10:17 AM
ASP.NET Crystal Report 10.2 jayamohan4u ASP.NET 2.0 Basics 0 February 13th, 2007 07:20 AM
Code to make crystal viewer (10) work with access Charinator Access 0 November 16th, 2006 05:26 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.