Skip to Content
Former Member
Aug 26, 2009 at 07:19 PM

Context Menu and DrillDownSubreport Click event


I have developed my application using Crystal Reports 2008 and C#. My form embeds a Crystal ReportViewer for user to view our custom reports. We also include a popup context menu on the GUI but we experience problems with the built-in DrillDownSubreport behavior. When we launch (right click) the context menu on top of the report content page and click any of the menu item, the mouse click seems to trigger the DrillDownSubreport at the same time. I had tried to mask that but wasn't successful - e.g. using context menu popup and collapse event to set different DrillDownSubreport handler on setting the return value (true to disabled) as well as trying on the WndProc.

I would appreciate if someone can help me to resolve this issue so that my context menu will work without triggering the subreport drilldowns.

Thanks in advance.