Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Data Connectivity
Message Icon Topic: run a CR XI report from ASP.Net Post Reply Post New Topic
Author Message
joannei
Newbie
Newbie


Joined: 13 Dec 2006
Location: United States
Online Status: Offline
Posts: 7
Quote joannei Replybullet Topic: run a CR XI report from ASP.Net
    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
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet 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 and click on Crystal Reports .NET SDK
 
-Dell
IP IP Logged
joannei
Newbie
Newbie


Joined: 13 Dec 2006
Location: United States
Online Status: Offline
Posts: 7
Quote joannei Replybullet Posted: 13 Dec 2006 at 9:00am
Thank you for your quick reply!  I'll check it out.
Joanne
IP IP Logged
joannei
Newbie
Newbie


Joined: 13 Dec 2006
Location: United States
Online Status: Offline
Posts: 7
Quote joannei Replybullet 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.
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet 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


Edited by BrianBischof - 14 Dec 2006 at 11:13am
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>
IP IP Logged
joannei
Newbie
Newbie


Joined: 13 Dec 2006
Location: United States
Online Status: Offline
Posts: 7
Quote joannei Replybullet Posted: 14 Dec 2006 at 11:52am
Thanks Brian.  I'll check it out.
Joanne
IP IP Logged
joannei
Newbie
Newbie


Joined: 13 Dec 2006
Location: United States
Online Status: Offline
Posts: 7
Quote joannei Replybullet 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
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.031 seconds.