Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


05-08-2009, 8:07 AM
I have created my own custom toolbar. I have the zoom percentage combox box on my toolbar. I would like to refresh the value in the combo box when the user zooms the report by clicking the report. Which handler should I override to do this? I have tried RenderingCompleted, but this event is not called when the report is clicked. I've also tried overriding Click and MouseClick.

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


05-11-2009, 5:42 AM
Hello,

I would like to tell you that currently the event which is required to achieve the desired scenario is not exposed. I have entered a Case 129919 in our system to expose that event. I have also added your email address to the affected user list.

Currently if you would like to be notified when a new build has been released
in which this event is exposed you can subscribe to receive DataDynamics Reports announcements here:
http://www.datadynamics.com/forums/80/ShowForum.aspx

Regards,
Sandeep

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


05-20-2009, 11:06 AM
Hello,

Case 129919 has been implemented in the latest build (1.6.1251.0) of DataDynamics Reports.

You may use ‘ZoomLevelChanged’ event to achieve the desired scenario.

You may download this build from here:
URL: https://grapecity.sharefile.com
Username: dduser@grapecity.us.com
Password: dduser
FileName: 1.6.1251.0.zip
Folder: Builds

Regards,
Amit
Amit Pal
GrapeCity- DataDynamics

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


08-26-2009, 1:54 PM
Works great! Thanks!

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


08-31-2009, 3:29 AM
This event works for me as well, but I ran into a huge problem with it.

Once I save my project, close Visual Studio 2008 and then start the project again in VS I get the message: 'ZoomLevelChanged' is an unsupported type. No matter what I try then, even reinstalling the component, will make this error go away. Is there something I am missing here?

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


08-31-2009, 9:57 AM
Hello,

I would like to inform you that we have identified this issue and entered a Case 127559 to fix it. Your email address is attached to this case and you will be notified when it gets fixed.

Thanks,
Gaurav

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


03-10-2010, 3:09 AM
I don't know if you are aware of it, but in the new release this issue still seems to be present.

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


03-10-2010, 4:12 PM

I checked and noticed that the development team has began in investigation into Case 127559. That issues just didn't fit into the schedule of this most recent release, as you can see the team was busy working on many new things for that release, but I expect upcoming releases to be more frequent now.

Also, I noticed in our internal notes on this case that you can solve the issue with a workaround by just adding a reference to the DataDynamics.Reports assembly to the project. Does this work for you?

Scott Willeke
GrapeCity

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


03-11-2010, 2:00 AM
The workaround doesn't seem to work for me, as I have a reference to the DataDynamics.Reports assembly. I have also tried removing the reference and adding a new one.
When I check the events via the properties window of the reportspreview then the ZoomLevelChange event is listed, but when I create the event, then it gives the error.

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


03-11-2010, 2:20 AM
Thanks for the follow up. I'll let the team know.

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


01-14-2011, 2:51 AM
This bug is still present in the most recent release. Any idea when it will be resolved?

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


01-16-2011, 9:32 AM
Hi,

We're still not sure what causes this to happen, looking at the case history we found that it could be fixed by making sure your project had a reference to DataDynamics.Reports.dll. However, using the build that was created last night I am not able to reproduce this issue in VS2008 or VS2010, with or without a reference to DataDynamics.Reports.dll.

I will ask our support team to send you the link to a newer build so that you can try it out.

James

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


01-17-2011, 2:16 AM
After your post I decided to test something. I created a project in C# and tried to see if the event works properly, and indeed it does.
Next I proceeded to do exactly the same thing in VB.NET and then the error was right there.

So it seems that the problem has been fixed for C#, but it still exists in VB.NET. Since my programming is done in VB.NET right now, and converting to C# is not an option, I am stuck with the problem.

I hope this info helps you a bit with determing the cause of this error.

Re: Detect when the mouse mode is ZoomIn or ZoomOut and the report is clicked


01-17-2011, 6:52 AM
Hello,

Thanks for providing detailed steps on this issue. We have been able to recreate this and I have updated Case 127559 in this regard. You will be notified once a build containing a fix for this issue will be released.
Amit Pal
GrapeCity- DataDynamics