Hello,
I created a simple add-in Button that opens a mxd document. The button uses the OnUpdate() event to check when the document is finished opening and then runs some additional code. The Button worked as expected until I moved it's Config.esriaddinx entry from <Toolbar></Toolbar> to a <Menu></Menu> (drop-down menu). Since moving the Button to a drop-down menu, the OnUpdate() function does not get called. However, the OnUpdate() function is eventually called when I click the drop down menu that contains the button. Is this expected behavior for the OnUpdate() event? I'd like to know why the Button's OnUpdate() behavior is different between toolbar UI styles.
Thanks,
Josh