I'm wondering how I create a drop down menu button using Infragistics? (That is, the user hits a button, a number of options drop down, such as Save, Delete, Print, and the user can select one).
I think I have to use an UltraDropDownButton and an UltraToolbarsManager together somehow, but I cant for the life of me work it out. I think the WinMisc-Basic Features sample has what I'm after, but I'm having trouble working it out from that example.
Can anyone offer a few pointers?
Thanks.
I would like to emulate the toolbar functionality shown in the image below. So 'Reply' button directly on toolbar is functional by itself. User would have to click on the arrow and select one of the four reply options ONLY if he needs a less common reply option. Most of the time the user would use Reply button on toolbar.
Is the following suggestion the way to go? Thanks in advance! Are there any samples in the KB I can follow?
Thanks in advance!
Mike Dour"] 9. Select the 'PopupMenuTool Designer' tab on the customize dialog. 10. In the 'Current Menu' drop down, select the popup menu added in step 5. 11. Drag the tools you want in your drop down from the 'Available Tools' section to the section on the left. 12. Click 'Close' in the customize dialog 13. Add an UltraDropDownButton to the Form and select the new button. 14. In the VS property grid, drop down the arrow for the PopupItem property and select the popup menu added in step 5.
9. Select the 'PopupMenuTool Designer' tab on the customize dialog.
10. In the 'Current Menu' drop down, select the popup menu added in step 5.
11. Drag the tools you want in your drop down from the 'Available Tools' section to the section on the left.
12. Click 'Close' in the customize dialog
13. Add an UltraDropDownButton to the Form and select the new button.
14. In the VS property grid, drop down the arrow for the PopupItem property and select the popup menu added in step 5.
Oh, I have reported it (to support). Their response was a matter of fact "Oh, this is how you have to do that".
An excerpt from their response:
" This is interesting scenario, and the trick is that you have created a popup menu for the child form, and when you display the child form as MDI parent, it contains popup menu but it does not correspond with the parent form, in other words the parent does not have a popup menu item - it should and the key must match. On the other hand when you display non-MDI form, it has no tie with the parent, and therefore it displays its own popup menu. You need to set up a popup menu item on the parent so it can relate with the child form. Keep in mind that the keys of popup items must match. "
Not the slightest indication that this is a bug.
I don't think its a feature. You would be able to show a merged menu in the parent manager by calling ShowPopup if it was defined only on the child and not the parent, so you should be able to show it with an UltraDropDownButton as well. I would recommend reporting it.
Apparently its not a bug - its a feature. If you put a popupmenu in the mdi container form, with the same name (I think key) as the one you use in your mdichild form, it starts working. From what I can tell, the logic is it will combine the two (from the main menu and child menu) into a single popup menu. I've now just created a bunch of blank popups in my main (parent) form, with the generic names PopupMenuTool1, PopupMenuTool2, etc, and make sure I use those same names in the child forms. I'm sure this must be convenient for some people - just not myself.
i have the same problem. I used the ig controls from 2006 volume 2. Now I upgraded to version 2008 volume 1 and the popup is no longer shown. when can we get a fix?