How to Find Tab click Event
How to Find Tab click Event
Hello,
I'm trying capture an Click-Event for whenever you click in one of the Tabs (Specifically the "Preview Report" Tab Control). So I could put some code whenever the user click on this Tab.
I've already used "StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner" event but it doesn't really fit for me because whenever "Auto-Refresh" CheckBox is off, this event won't get triggered.
Thanks,
waisblut.
I'm trying capture an Click-Event for whenever you click in one of the Tabs (Specifically the "Preview Report" Tab Control). So I could put some code whenever the user click on this Tab.
I've already used "StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner" event but it doesn't really fit for me because whenever "Auto-Refresh" CheckBox is off, this event won't get triggered.
Thanks,
waisblut.
Re: How to Find Tab click Event
Hello.
What are you to do with tab click event?
Please, explain your problem more detailed.
Thank you.
What are you to do with tab click event?
Please, explain your problem more detailed.
Thank you.
Re: How to Find Tab click Event
Hello,
First of all, Thanks for your quick reply!
As soon as the user clicks this Tab, before anything else, it would open a new Form Window wich the user would have some filtering options. Withing this "Filtering Window", if the users clicks on the Close Form Button (X), the Preview should not refresh (Perhaps the "Close Form Button (X)" would avoid trigger "ReportCompiling" Event).
Thanks again!
First of all, Thanks for your quick reply!
As soon as the user clicks this Tab, before anything else, it would open a new Form Window wich the user would have some filtering options. Withing this "Filtering Window", if the users clicks on the Close Form Button (X), the Preview should not refresh (Perhaps the "Close Form Button (X)" would avoid trigger "ReportCompiling" Event).
Thanks again!
Re: How to Find Tab click Event
Hello.
Please, try to use our Form. Look at the Dialogs section of our Demo.
Thank you.
Please, try to use our Form. Look at the Dialogs section of our Demo.
Thank you.
Re: How to Find Tab click Event
Hi Again!
I did use the Demo. Sorry, but that was not what I meant before.
What I meant was that I'm trying to capture an event that is responsible for triggering the "Click" on the "Preview" Tab customizing the component (StiReport). So I could put some code in it. Something similar of using "StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner".
Maybe the attachment enclosed would be a better explanation.
Thanks.
I did use the Demo. Sorry, but that was not what I meant before.
What I meant was that I'm trying to capture an event that is responsible for triggering the "Click" on the "Preview" Tab customizing the component (StiReport). So I could put some code in it. Something similar of using "StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner".
Maybe the attachment enclosed would be a better explanation.
Thanks.
- Attachments
-
- MyScreen.JPG (33.39 KiB) Viewed 4354 times
Re: How to Find Tab click Event
Hello.
There is no such event and we'll not implement it.
Why do you need this event and not our Dialogs?
Also you could call you method from BeginRender event of the report.
Thank you.
There is no such event and we'll not implement it.
Why do you need this event and not our Dialogs?
Also you could call you method from BeginRender event of the report.
Thank you.
Re: How to Find Tab click Event
Hello again!
I need the event that I'm asking for to open my Dialog.
I am being able right now to open Dialogs, but Whenever the User clicks on Close button of the Dialog, I don't want the report to be rendered again.
Using events such as "StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner" opens my dialog fine, but it ALWAYS renders the preview Again. I would like to be able to PREVENT the rendering of the PREVIEW. (Abort the Report Compiling).
Thanks again!
I need the event that I'm asking for to open my Dialog.
I am being able right now to open Dialogs, but Whenever the User clicks on Close button of the Dialog, I don't want the report to be rendered again.
Using events such as "StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner" opens my dialog fine, but it ALWAYS renders the preview Again. I would like to be able to PREVENT the rendering of the PREVIEW. (Abort the Report Compiling).
Thanks again!
Re: How to Find Tab click Event
Hello.
Thank you.
You could use next code in the BeginRender event:waisblut wrote:I need the event that I'm asking for to open my Dialog.
I am being able right now to open Dialogs, but Whenever the User clicks on Close button of the Dialog, I don't want the report to be rendered again.
Using events such as "StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner" opens my dialog fine, but it ALWAYS renders the preview Again. I would like to be able to PREVENT the rendering of the PREVIEW. (Abort the Report Compiling).
Code: Select all
this.IsStopped = true;
Re: How to Find Tab click Event
Ok,
We are almost there.
After using the "IsStopped" Property, when the user clicks on Close Button on my Dialog, it Returns a Blank screen. But what I expect to show the User would be the previous Compiled Report.
Another much clearer example, would be:
When the user clicks on the REFRESH Button......My Dialog opens.......then, if the user Clicks on Cancel Button, No Refresh-Action should happen.....
Thanks!
We are almost there.
After using the "IsStopped" Property, when the user clicks on Close Button on my Dialog, it Returns a Blank screen. But what I expect to show the User would be the previous Compiled Report.
Another much clearer example, would be:
When the user clicks on the REFRESH Button......My Dialog opens.......then, if the user Clicks on Cancel Button, No Refresh-Action should happen.....
Thanks!
Re: How to Find Tab click Event
Hello.
Unfortunately, we couldn't provide your such behaviour of our Designer. And it's impossible to implement such feature.
Thank you.
Unfortunately, we couldn't provide your such behaviour of our Designer. And it's impossible to implement such feature.
Thank you.