Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Prevent popup menu tool from closing when clicked
posted

Is it possible to prevent a popup menu tool from being closed when it or a ButtonTool within it is clicked on.

We have the following use case;

There is a grid with a right click context menu. The menu is populated dynamically. There are a number of dynamic actions that can be performed. These actions are obtained by running rules on the data from a service. The user can select any amount of data before trying to get the actions that can be performed on the data in the grid. There are actions which can be performed all of the time, we would like to present these options to the user without the hit on the service. The response from the service can also take a while depending on how much data has been selected so we want to be able to give the users the ability to request these actions on demand. We therefore want the following menu

 Actions

    ->Standard Action 1

    ->Standard Action 2

    ->Dynamic Actions

        ->Refresh

 The dynamic action menu will be another menu with refresh at the top or something along those lines. When the refresh item is clicked we want to call out to the service and populate the Dynamic Actions sub menu. It seems when a button tool is clicked it closes the popup menu.

 I know we can use PopupControlContainerTool and put a user control inside it but we want our application to look consistent and having and a button within a user control off the popup control isnt desirable. We are using 2007.1 with the ribbon and 2007 styling.

Any help would be appreciated.

Thanks in advance.

Parents
No Data
Reply Children
No Data