Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture Close button click in Crysta Report Viewer objec
Message
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Divers
Thread ID:
00978725
Message ID:
00978836
Vues:
30
After executing oCRV.Show() the preview control did not show. Well time to try something different.

Einar

>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform