Print Page | Close Window

run a CR XI report from ASP.Net

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=54
Printed Date: 19 Apr 2024 at 10:43am


Topic: run a CR XI report from ASP.Net
Posted By: joannei
Subject: run a CR XI report from ASP.Net
Date Posted: 13 Dec 2006 at 8:46am
Hi,
Here is a real newbie question!  I have an ASP.Net application and I have a report built in Crystal XI.  How do I run the report from my app? 
(FYI - "my app" is an extension of a system that has the crystal report viewer.  They run things through scripts, etc. I'm hoping to keep it simple and just launch the report in a new window.)
 
Thanks,
Joanne



Replies:
Posted By: hilfy
Date Posted: 13 Dec 2006 at 8:53am
There's sample code for how to do this available in the BO Developer site.  You can find it here: http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm - http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm  and click on Crystal Reports .NET SDK
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: joannei
Date Posted: 13 Dec 2006 at 9:00am
Thank you for your quick reply!  I'll check it out.
Joanne


Posted By: joannei
Date Posted: 14 Dec 2006 at 4:16am
Well, I didn't find anything useful there.  Maybe it's a question for an ASP forum.  Thanks anyway.


Posted By: BrianBischof
Date Posted: 14 Dec 2006 at 11:12am
You can read the chapter from my Crystal Reports .NET book. I have it online for free. See Chapter 14.

http://www.crystalreportsbook.com/crystal_reports_net_book_index.asp - http://www.crystalreportsbook.com/crystal_reports_net_book_index.asp


-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: joannei
Date Posted: 14 Dec 2006 at 11:52am
Thanks Brian.  I'll check it out.
Joanne


Posted By: joannei
Date Posted: 18 Dec 2006 at 6:37am
ok, I've managed to get my report to open in the CrystalReportsViewer.  (It's fine for this report since I don't have to do any manipulation.)
 
But (there's always a but, isn't there?) now I can't figure out how to trap the "onClick" of the print button that renders in the viewer.  Is it possible?
 
Also, the path to the images for the buttons (print, next prev, last and first) are all down a local path.  If I include them in my web project, is there a way to tell Crystal Reports to use the new path?
 
Thanks (again)
Joanne



Print Page | Close Window