PC Review


Reply
Thread Tools Rate Thread

CrystalReportViewer questions

 
 
Stan Sainte-Rose
Guest
Posts: n/a
 
      16th Dec 2003

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



 
Reply With Quote
 
 
 
 
CJ Taylor
Guest
Posts: n/a
 
      17th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> 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
>
>
>



 
Reply With Quote
 
Stan Sainte-Rose
Guest
Posts: n/a
 
      17th Dec 2003
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" <(E-Mail Removed)> a écrit dans le message de
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> > 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
> >
> >
> >

>
>



 
Reply With Quote
 
Bernie Yaeger
Guest
Posts: n/a
 
      17th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> > 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
> >
> >
> >

>
>



 
Reply With Quote
 
CJ Taylor
Guest
Posts: n/a
 
      17th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > >
> > > 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
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CrystalDecisions.Web.CrystalReportViewer is not compatible with the type of control CrystalDecisions.Web.CrystalReportViewer =?Utf-8?B?UmV6YSBOYWJp?= Microsoft ASP .NET 4 21st Sep 2009 05:30 PM
Using CrystalReportViewer rbutch@coair.com Microsoft ADO .NET 0 6th Jan 2006 12:33 PM
CrystalReportViewer =?Utf-8?B?R2VyaGFyZA==?= Microsoft Dot NET 1 26th Dec 2005 09:15 AM
Using CrystalReportViewer Shahid Microsoft C# .NET 0 4th Oct 2005 05:29 PM
CrystalReportViewer tg Microsoft VB .NET 4 2nd Dec 2004 02:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:45 AM.