473,383 Members | 1,785 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,383 software developers and data experts.

CrystalReportViewer questions


Hi,

How to capture the CrystalReportViewer Events.
I need to do some actions when the user clicks on the close and print icons.
By the way, I thank you for your contributions...

Stan

Nov 20 '05 #1
4 6061
No, CRV will handle most of those events on its own, but if you want to do
more with them they are availible. And you handle them sthe same as other
events.

-CJ
"Stan Sainte-Rose" <st**@cyber972.com> wrote in message
news:eF**************@TK2MSFTNGP09.phx.gbl...

Hi,

How to capture the CrystalReportViewer Events.
I need to do some actions when the user clicks on the close and print icons. By the way, I thank you for your contributions...

Stan

Nov 20 '05 #2
Thanks for your reply
In fact, I want to know if the user clicks on the Print icon and the Close
Viewer icon.
By the way, when I click on the Close icon, it doesn't close the view.
Any suggestions ?
Stan

"CJ Taylor" <no****@blowgoats.com> a écrit dans le message de
news:vu************@corp.supernews.com...
No, CRV will handle most of those events on its own, but if you want to do
more with them they are availible. And you handle them sthe same as other
events.

-CJ
"Stan Sainte-Rose" <st**@cyber972.com> wrote in message
news:eF**************@TK2MSFTNGP09.phx.gbl...

Hi,

How to capture the CrystalReportViewer Events.
I need to do some actions when the user clicks on the close and print

icons.
By the way, I thank you for your contributions...

Stan


Nov 20 '05 #3
Hi CJ,

You said: 'if you want to do more with them they are available'. How so?
When you look at the events that are available, I don't see any way of
getting to the various buttons. If there is a way, I'd love to know it
also.

Tx,

Bernie Yaeger

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:vu************@corp.supernews.com...
No, CRV will handle most of those events on its own, but if you want to do
more with them they are availible. And you handle them sthe same as other
events.

-CJ
"Stan Sainte-Rose" <st**@cyber972.com> wrote in message
news:eF**************@TK2MSFTNGP09.phx.gbl...

Hi,

How to capture the CrystalReportViewer Events.
I need to do some actions when the user clicks on the close and print

icons.
By the way, I thank you for your contributions...

Stan


Nov 20 '05 #4
Well, what do you want to do with the buttons? The event fires letting you
know the button has been clicked. If you want to do your own processing
such as the ViewZoom event, you can.

I was mistaken about printing, the viewer doesn't have a print event, but if
you (in your Designer) click on the CrystalReportViewer object you can see
all of its events. I'm sure you knew that, just wanted to throw it out
there..

So with those events available you can do whatever you want. As for getting
to the actual buttons, I just looked at the object heirarchy in object
browser for
CrystalDesicions.Windows.Forms.CrystalReportViewer

The buttons aren't declared within there it looks like only properties
enabling if you can see them or not. So my assumption is that they are
declared private (or drawn within a paint event) But modifying them or
hooking them doesn't appear to be possible.

I hope this helps some.

-CJ

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi CJ,

You said: 'if you want to do more with them they are available'. How so?
When you look at the events that are available, I don't see any way of
getting to the various buttons. If there is a way, I'd love to know it
also.

Tx,

Bernie Yaeger

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:vu************@corp.supernews.com...
No, CRV will handle most of those events on its own, but if you want to do more with them they are availible. And you handle them sthe same as other events.

-CJ
"Stan Sainte-Rose" <st**@cyber972.com> wrote in message
news:eF**************@TK2MSFTNGP09.phx.gbl...

Hi,

How to capture the CrystalReportViewer Events.
I need to do some actions when the user clicks on the close and print

icons.
By the way, I thank you for your contributions...

Stan



Nov 20 '05 #5

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

Similar topics

0
by: Cuperman | last post by:
Hi All, I am pretty new to Crystal coding and trying to enhance a report that we have created in .Net I have a CrystalReportViewer control which loads a report from Cache memory. This all...
1
by: Jordan | last post by:
Hi, I've declared the statement below in my form and somehow crystalReportViewer1 is always null. Is there anything wrong with the statement? private...
2
by: suicidaltendencies | last post by:
Does anyone know how to fix this problem. I'm trying to create some Crystal Reports Thanks Harol Compilation Error Description: An error occurred during the compilation of a resource required...
3
by: Reza Nabi | last post by:
Hello I created a very simple page just to load a crystal report which was working just great Code started throwing the following exception, after I installed crystal report 9 advanced edition ...
0
by: Marc Callec | last post by:
I'm trying to create an instance of the CrystalReportViewer control within my class in an attempt to return the rendered HTML back to the consumer of the class. Because I haven't added the...
1
by: Bob | last post by:
I'm asking here because I've posted this question in the crystal newsgroup, waited two weeks, and got zero response. I would be very appreciative if someone could shed some light on this problem...
1
by: Gerhard | last post by:
I am using a CrystalReportViewer to view a CrystalReport. The report calls a stored procedure with one parameter. I am using .net version 2. Two questions. How do I set the parameter...
3
by: roopsd | last post by:
I am using VS.NET 2003 with crystal reports XI release 2. I get a runtime error at the following line: oRptForm.crystalReportViewer.ReportSource = oReport An unhandled exception of type...
0
by: roopsd | last post by:
Hi Thank you for yuour help. I am using VS.NET 2003 with Crystal XI r2. I am getting NullReferenceException at the following line in my code. oRptForm.crystalReportViewer.ReportSource =...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.