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.

Hello,
Have you tried to cancel drilldown on the Crystal Reports Viewer? Be aware, it will cancel all drilldown not just subreports.
CrystalReportViewer1.EnableDrillDown = False
'Set the viewer to the report object
CrystalReportViewer1.ReportSource = crReportDocument
Elaine

Similar Messages

  • The Right click context menu, and menu butons are all yellow?

    The right click context menu, and the Drop down menus for the tool bar, all have Yellow Text.
    Everything else is working normally, and the Yellow text is un related to windows itself, as Windows still has the standard coloring for the menus and Right click context. im stumped.
    Adblock Plus 2.0.3
    Easy YouTube Video Downloader 5.9
    EPUB Reader 1.4.1.1
    FoxTab 1.4.4
    Ghostery 2.7.2
    IMVU Toolbar 3.10.0.1
    .Net Framework
    Personas 1.6.2 [have had same persona for ages so its not that]
    Roomy Bookmarks 1.3.3
    Smoothwheel 0.45.6.20100202.1
    Tab scope 1.1.4
    Turn off the lights 2.0.0.71
    Yontoo Layers 1.20.00
    i have latest version of firefox. 11
    no virus detected with Malwarbytes, or Avast.
    setting check through windows shows no carry over from a botched windows theme setting.
    its cosmetic issue mostly, not harmful.

    Hmmm, that shouldn't happen. It's difficult to change the text colors in the interface without installing a theme or an add-on that lets you tweak the menus.
    Can you try switching between the default theme and your current theme?
    Do any of those extensions let you change display settings?

  • Displaying a context menu on right click on rich tree

    Please see the code below. I want to display a context menu on right click on a rich tree.
    <ui:composition xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich">
        <style>
            .col1{ width:50%; vertical-align:top;
        </style>
        <h:form>   
            <h:panelGrid columns="1" width="100%" columnClasses="col1">
                 <rich:tree style="width:300px" nodeSelectListener="#{simpleTreeBean.processSelection}"
                    switchType="client"
                    value="#{simpleTreeBean.treeNode}" var="item" id="item">
                    <rich:componentControl event="onClick" for="menu" operation="show">
                    <f:param value="#{item.data}" name="send" />
                </rich:componentControl>
                </rich:tree>
                </h:panelGrid>
            <a4j:outputPanel ajaxRendered="true">
                <rich:panel>
                    <f:facet name="header">Last Menu Action</f:facet>
                    <h:outputText escape="false" value="Right Click :  #{simpleTreeBean.nodeTitle}" id="selectedNode" />
                    <br/>
                </rich:panel>      
            </a4j:outputPanel>
                 <rich:contextMenu event="oncontextmenu" actionListener="#{SimpleTreeBean.processCurrElement}" attached="true" id="menu" submitMode="ajax">
                <rich:menuItem ajaxSingle="true">
                <b> #{simpleTreeBean.nodeTitle}</b> Send To
                    <a4j:actionparam name="det" assignTo="#{ddmenu.current}" value=" #{simpleTreeBean.nodeTitle}"/>
                </rich:menuItem>
            </rich:contextMenu>
        </h:form>
    </ui:composition> With this code, i need left click at first then right click, then it will show the selected node. I want to get the value of the node title on right click. Please help me with it. The SimpleTreeBean code:
    package com.dW;
    import java.awt.event.ActionEvent;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Properties;
    import javax.faces.FacesException;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import org.richfaces.component.UITree;
    import org.richfaces.event.NodeSelectedEvent;
    import org.richfaces.model.TreeNode;
    import org.richfaces.model.TreeNodeImpl;
    public class SimpleTreeBean
        private TreeNode rootNode = null;
        private String nodeTitle;
        private static final String DATA_PATH = "images/simpleTreeData.properties";
        private void addNodes(String path, TreeNode node, Properties properties) {
            boolean end = false;
            int counter = 1;
            while (!end) {
                String key = path != null ? path + '.' + counter : String.valueOf(counter);
                String value = properties.getProperty(key);
                if (value != null) {
                    TreeNodeImpl nodeImpl = new TreeNodeImpl();
                    nodeImpl.setData(value);
                    node.addChild(new Integer(counter), nodeImpl);
                    addNodes(key, nodeImpl, properties);
                    counter++;
                } else {
                    end = true; } }  }
        private void loadTree() {
            FacesContext facesContext = FacesContext.getCurrentInstance();
            ExternalContext externalContext = facesContext.getExternalContext();
            InputStream dataStream = externalContext.getResourceAsStream(DATA_PATH);
            try {
                Properties properties = new Properties();
                properties.load(dataStream);
                rootNode = new TreeNodeImpl();
                addNodes(null, rootNode, properties);
            } catch (IOException e) {
                throw new FacesException(e.getMessage(), e);
            } finally {
                if (dataStream != null) {
                    try {
                        dataStream.close();
                    } catch (IOException e) {
                        externalContext.log(e.getMessage(), e);
        public TreeNode getTreeNode() {
            if (rootNode == null) {
                loadTree();
            return rootNode;
        public void processSelection(NodeSelectedEvent event) {
            UITree tree = (UITree) event.getComponent();
            nodeTitle = (String) tree.getRowData();
        public void processCurrElement(ActionEvent event) {
            UITree tree = (UITree)event.getSource();
            nodeTitle = (String)tree.getRowData();
            System.out.println(nodeTitle);
        public String getNodeTitle() {
            return nodeTitle;
        public void setNodeTitle(String nodeTitle) {
            this.nodeTitle = nodeTitle;
    }

    Hi,
    Do you have a solution for this? Looking for exactly the same.
    As far as I have it at the moment I have the backing object added to the attributes of the node:
    <a4j:support event="oncontextmenu"
                                         oncomplete="#{rich:component('foldersContextMenu')}.doShow(event, {})"
                                         actionListener="#{customerBean.buildContextMenu}" reRender="foldersContextMenu, selectedNode">
                                <f:setPropertyActionListener value="#{item}" target="#{customerBean.nodeTitle}"/>
                                <f:attribute name="node" value="#{item}"/>
                            </a4j:support>This allows me to get the object in the backing bean:
    public void buildContextMenu(ActionEvent event) {
            UIComponent component = event.getComponent();
            log.info("component: " + component.getId());
            Category node = (Category) component.getAttributes().get("node");
            log.debug("node : " + node);But how I translate that to setting this as the current node is causing me problems.
    Thanks
    Jon

  • Double click and single click Event

    Hi
      I want to add a Single Clcik event and Double click event  both on the same movie clip in as3 , its working but call both the event same time so how to fix it , please help us if u have any solution ..(

    did you double click enable your object AND add a doubleclick listener?  if so, what's the problem?

  • I have an "Untitled" test service that no longer exists in Library/Services/ but still loads in the context menu and finder services menu.  How do I get rid of it?

    I created an "Untitled" test service, then deleted it.  It no longer exists in Library/Services/ but still loads in the context menu and finder services menu.  Reboots do not change the behavior.  How do I get rid of it?

    ... and mysteriously, it's gone again.  Multiple reboots across the day between then and now, plus a few hibernations as I moved about.  It's as if Finder cached the [deleted!] workflow file and continued to operate off of the cache for an indeterminate time....

  • Context menu on right-click

    How can i get a context menu popup when the user right-clicks a table row? Will the conflict with the selection listener? thanks

    [url http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html#popup]Bringing Up a Popup Menu

  • How to differentiate between Single click and double click event in List

    I am facing a problem while using list in awt.
    I want to execute some code on single click and other on double click but when double click event occurs it also executes the single click code.
    because i have added both actionlistener and itemlistener on the list.
    How to sort out this problem.
    please help me out.
    Thanks buddies.

    Hello Meeraj_Kanaparthi
    Thanks for helping i m giving u the code i have tried.
    Plz help me on this...
    Thanks........
    import java.awt.*;
    import java.awt.event.*;
    class CheckList extends Frame implements MouseListener
         List l1;
         int x;
         int y;
         CheckList()
         setSize(500,500);
         setLayout(new FlowLayout());
         l1=new List(10);
         add(l1);
         l1.add("Item 1");l1.add("Item 2");l1.add("Item 3");l1.add("Item 4");l1.add("Item 5");
         x=6;
         y=0;
         l1.addMouseListener(this);
    //     l1.addItemListener(this);
         show();
         public void execute(int y)
         if(y==1)
         {System.out.println("3");
              l1.remove(l1.getSelectedIndex());
         if(y==2)
         {System.out.println("4");
              l1.add("item " + x);
              x++;
         public void mousePressed(MouseEvent e)
              System.out.println("Pressed");
         public void mouseReleased(MouseEvent e)
              System.out.println("Released");
         public void mouseEntered(MouseEvent e) {}
         public void mouseExited(MouseEvent e) {}
         public void mouseClicked(MouseEvent e)
         if (e.getClickCount()==1)
              System.out.println("1");
              y=1;
         if (e.getClickCount() == 2)
         {System.out.println("2");
              y=2;
              execute(y);
         public void actionPerformed(ActionEvent ae)
         public void itemStateChanged(ItemEvent it)
         public static void main(String ag[])
         new CheckList();
    }

  • Labview edit time menu and right click popup menus

    How can i add a menu item to the labview edit time menus and to the right click popup menu of any selected object in a block diagram?
    I would like to integrate commonly used tools by me out of the springboard scripting tool into actual labview.
    Solved!
    Go to Solution.

    It sounds to me like you are looking for something like the Right-Click Framework.  Some people really like it, I have not used it extensively myself.  I've had a request to convert a quick drop shortcut into a RCF plug-in, I'll see how it goes.  I have also longed for a good way to hook into the LV IDE to add my own tools, what I find are useful, but not fully satisfactory solutions.
    1)  Right-Click Framework:  Some initial startup costs in terms of downloading and installing.  Start up is a bit slow (on my machine), and the workflow is a bit different than what I am used to:  Select an object, press the hotkey, right-click.  You can get used to it, but it is not as responsive as a built-in right-click since you can't right-click in one action.  It seems to be easily extensible, I'll know more in a day or two.
    2)  Quick Drop:  Built into LV.  Slow startup like RCF.  Fairly easily extensible.  Not context aware (unless you build it in to your plug-in), so you have to choose your letters wisely.  After the initial pain, the response time is not shabby, does require the extra Ctrl-Space action.  
    3)  Tools Menu:  I drop a few things in here, like my custom connector pane editor.  Not bad, but there are no keyboard shortcuts (what a pain), so it is good for actions that you might call once or twice on a given VI.
    In short, all of these methods require extra clicks or keypresses and are a bit sluggish.  If something like copy and paste behaved this way we would never use LV again, but if your tool truly saves you a bunch of steps it is well worth it.  I have almost run out of letters to use for my QD shortcuts.
    Addedendum:  Personally I am not quite ready to start talking to my computer, but LVSpeak seems pretty cool, Smashy Smashy.

  • I am unable to find "menu button New Fx Menu" when trying to (Click the menu button New Fx Menu and then click Exit Close 29)

    I have had sound problems when viewing facebook and youtube and thought it may be a plugin problem. I don't know much about computers and stumble my way through like now so simple instruction are required please.

    Hello,
    On the right side of your browser, below the window close button [X], should be three horizontal lines.
    * Menu [[Image: New Fx Menu]]
    * Exit [[Image: Close 29]] is on the bottom right corner of the menu that opens
    If you still cannot see it, '''try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *Assuming you have your menu bar visible, go to "Help" > "Restart with Add-ons Disabled"
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    If that menu is still not visible, please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • Splitter and DOUBLE-CLICK event

    I ahev a splitter that displays two ALV grids. With event DOUBLE_CLICK I want to be able to detrmine which grid caused the double_click as I wanted to use one method with conditional logic so some of code could be generic. How would I do this or is it simply better to have two methods double_lclick for grid1 & double_click for grid2 and set handler for each event ?

    Hello Jonathan
    There is a very simple solution to your problem. When you define the event handler methods (e.g. HANDLE_DOUBLE_CLICK) simply add the optional parameter <b>SENDER </b>which is the control that has raised the event.
    For details refer to my previous post in
    How to handle two hot spot clicks on one screen
    Regards
      Uwe

  • Restoring a profile backup Click the menu button New Fx Menu and then click Exit Close 29 If your existing profile folder and profile backup folder hav

    Re the instructions above, if I click on the exit button, Firefox closes. What do I do next?????
    Sorry, but this doesn't appear to be able to give instructions to novice users, HELP,
    Before I close FF, and, once again lose all my information, please answer me!! This is not easy for a novice. I have been working on this problem for 3 hours now....
    I have backed up my profile to a USB stick, AND put a shortcut to it on the desktop.
    I am running WIN XP PRO V5.12600 SP 3.0 32 bit. on a desktop computer, and no I cannot afford to get a fancy new computer as I am on a fixed pension, (and have a large rent, and no, I cannot move. Any more judgmental issues?)
    Sorry to come across as a bit paranoid, but these are the things so called intelligent people do say to me.....sigh....Not doubting yourself in any way, but you would be surprised what some of your volunteers infer in their answers.
    I am not stupid, just not as educated as you in the programming & fixing of Computers. Please be patient with me....
    Kind regards
    Sylvia

    Oh wait, upon second reading: image uploading was broken, and it works now. But you want to recovery some information that was lost in the Refresh? Is that the situation?

  • This doesn't work - Reset Firefox to its default state "Click the menu button New Fx Menu and then click help Help-29 .

    You say this will help and first sentence under your "Reset Firefox to its default state." is worthless !!!!!!!!!!!!!!!!!!!!!!!

    https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems
    If you don't see the '''Reset Firefox''' button on the Troubleshooting Information page in Firefox, you may not be using the ''default=1'' Profile as listed in the profiles.ini file.

  • Block javascript/HTML context menu/right click controls

    anyone know of an extension/add-on that will let me remove a publisher's ability to control my context menu and/or right-click ability ?
    right now, publishers can use
    <body oncontextmenu="return false">
    or something like
    if (document.layers) document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown = rightclickerror;
    and i end up using wget which always annoys me.

    See also:
    * http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings
    * http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    *Tools > Options > Content : JavaScript > Advanced > Allow Scripts to:
    [] "Disable or replace context menus"

  • Update for RDP 8.1 Windows 7 SP1 changed explorer right click context menu

    I have a 4 pcs and 3 nas drive on my network.  previous to the update I could view my pcs and nas drives in explorers right pane left click one and access the folders on it.  since the update I can no longer do this because "remotedesktopconnection"
    has been added as the default (previously it was "open") to the right click context menu.  can someone help me change this back so when I right click a network computer icon in explorer I only see:
    open                                                                   
    AND NOT                              remotedesktop
    open in a new window                                                                                       open
    create shortcut                                                                                                 open
    in a new window
                                                                                                                           create
    shortcut
    the exact update that makes the change is: kb2592687

    Hi
    Theoretically it could be done by modify registry. For example you could
    modify right click menu on .exe file by changing values under
    HKEY_CLASSES_ROOT\exefile\shellex\
    However there are some problems that I cannot define that what kind of “file”
    the network computer is.
    And I found no article specific to this.
    If you really need to restore your context menu and also need this update, I
    suggest you uninstall this update first. Then back up your registry, install it
    again. This time using process monitor you could record all registry modifications during
    this update installation. It might take lots of work.
    I tried to do that for you, unfortunately this update has been deployed in our environment which cannot be uninstalled from update history.
    For more information about process monitor
    https://technet.microsoft.com/en-us/library/bb896645.aspx?f=255&MSPPError=-2147217396
    Regards
    D. Wu
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Right-Click Context Menu's Acrobat X Pro Missing

    Hello.  I have a user of Acrobat X Pro on Windows XP 32-bit system.  When they right-click, the context menu's are not there.  These menu's exist in my other 2 users Acrobat 9 right-click menu's.  Please help me to resolve getting the menu items to show up.  I have tried running regsvr to reload the ContextMenu.dll file and it succeeded but still nothing when right clicking.

    Via Hit and Miss, I discovered that the "blanks" in my right click context menu are actually the command buttons, just missing the text.  I tried everything, including the contextmenu.dll approaches but nothing worked.  I then highlighted a few PDF's, hit the blank bar in the context menu, and voila - Acrobat opened and put me into the "combine files" window.    Even right-clicking on a single JPG and then hitting the blank bar opens up the "add files into a PDF" window.
    Not a perfect fix but at least it gives me what I want!!
    nd M

Maybe you are looking for

  • How to get absolute path of current directory?

    Hi, everyone! I want to get the absolute path of current directory. Are there some APIs that I can use? Thanks in advance, George

  • GRC 10 - Legacy connector as user detail data source

    Hello,  I'm trying to use a legacy connector (with a text file as input) as a user data-source. Repository user sync for this legacy connector works : checked GRACUSER table, it is populated with all the user details from the input file (id,firstname

  • IdeaCentre B320 - Veriface application, how can I download this?

    I have just received my IdeaCentre B320 All-in-one desktop PC and am absolutely loving it! When I was looking through the specs before I bought it they stated that one of the features of the desktop was the Veriface application.  However I cannot fin

  • Getting "Hp Diagnostic Assistant" box with error 1706 every time I open my computer.

    Then is says needs alternate path to folder containing the installation package Redbox.msi     How do I stop these boxes from popping up.  I have to cancel several times before they go away (until the next time I open my computer, then the same error

  • O-S-P

    There are so many organizations and employees about 80,000 I worked for a company. I am developing a Manager Self Service application. So I used a 'O-S-P' Evaluation Path for getting orgs and employees using  a 'RH_STRUC_GET' standard function module