Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture Close button click in Crysta Report Viewer objec
Message
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
00978725
Message ID:
00978750
Views:
28
Kevin,
I just had a thought. My guess is that if I used the crystal report viewer the following way the close button would probably close the "form" (I hope the syntax is correct):
CrystalReportViewer oCRV = new CrystalReportViewer();
// set reportsource and stuff like that
oCRV.Show();
But it seems odd that I can't add custom code to the close click (or capture the event) when the control is added to a form.

Einar


>Hey, Einar,
>
>This is really strange. I gave this another try and still came up blank.
>
>There seems to be something called "CloseView" that shows up in Intellisense for the viewer, but doesn't show in the property sheet. I created a test to see if that would fire, but it didn't work.
>
>I checked through their KB site, and couldn't find anything. I'll try again with some different keyword searches. Again, I always drop my own close button on the preview form (I don't like the appearance or the placement of their close button), but I'm surprised that nothing happens when I click on their close button. Sorry I don't have an answer.
>
>Kevin
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform