473,287 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Crystal Print Problem

I'm using Crystal.net version 9.0 in a aspx page using the
CrystalReportViewer server control.

When I view a report running locally on my server where I installed the
crystal off the CD, the print works fine. If I view the HTML source, the
print button
A tag has an HREF that specifies
javascript:__doPostBack

However, when I view the same report on a development server where I just
installed the Crystal 9.0 redistributable, then the print does not work.
The reason it does not work is that the HREF of the anchor tag does not doe
a postback, it contains this

"javascript:doExport('http://

going back to my page. My page already has a querystring parameter (e.g.
?id=1) but crystal appends another querystring parameter like this
?__EVENTTARGET=rptViewer:_ctl1:_ctl0:_ctl2&__EVENT ARGUMENT=Form1

One problem is that my query string starts with a ?, so when crystal adds
another ? it gets all lumped into my Id parameter. I don't know if it would
actually work, if my page didn't require a querystring parameter.

Why would crystal in one case do a _doPostBack and on another server do a
plain old href?

-Randy
Jul 21 '05 #1
0 1455

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Das | last post by:
Hi all, I'm using crystal reports for the reporting..... the system is running on more than 10 clients... When show the report in the crystal report viewer & then click the print button. Print...
2
by: Prateek | last post by:
Hi All, Can anybody throw some light on this? I have a crystal report that shows data from a table. This works fine.. However, my requirement is to run an ASP.NET page within crystal so that...
5
by: wrytat | last post by:
If I want to print report in a web application, should I use Crystal Report? Is it supported by all windows web server? I also read that I can only make a user view a Crystal Report in a web...
1
by: warlord | last post by:
In order to save typing, I've borrowed the text from a post of nearly 12 months ago.....but the problem still exists. I've been banging my head all day with this, so I'm hoping someone has some...
17
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're...
0
by: Randy | last post by:
I'm using Crystal.net version 9.0 in a aspx page using the CrystalReportViewer server control. When I view a report running locally on my server where I installed the crystal off the CD, the...
0
by: John Smith | last post by:
Hello, I have 7 different crystal reports that need to be collated. Since I want to end up with a page of each (which all together make a single report), I created a blank main report and then...
0
by: John Smith | last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of Crystal Reports. Sometimes the users will preview a report in a Crystal report viewer, and sometimes they will send the...
1
by: Peter Afonin | last post by:
Hello, I'm using Crystal Reports for Visual Studio 2005. I'm trying to print my reports to the postscript file: PrinterSettings ps = new PrinterSettings(); ps.PrinterName = "HP Deskjet 3840...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.