Ribbon button not firing event set by onAction when clicked <p>I've designed an add-in to Outlook 2010 where I'm trying to fire (or, rather, catch) an event fired when a button is clicked as shown <a href="http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/a3fa9ea5-6710-48c4-adb7-1f11afe34f81/">in this article</a>. I've targeted the right XML (since the changes to it are seen on the ribbon). However, The event I'm trying to catch is either not fired at all or (more likely) fired an other way than what my listened is looking (listening?).</p> <p>I also tried to go by the reference on MSDN <a href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.office2010.customui.button.onaction.aspx">here</a>, <a href="http://msdn.microsoft.com/en-us/library/aa942866%28v=vs.100%29.aspx">here</a> and mostly <a href="http://msdn.microsoft.com/en-us/library/aa722523.aspx">here</a>. To no avail, though... I wonder if it's got to do with the "repurpose" information.</p> <p>Here's the markup.</p> <pre><code>&lt;tab idMso="TabMail"&gt; &lt;group id="group1" label="CRMK"&gt; &lt;button id="MyId" onAction="Button_Click" label="Do me!" size="large" /&gt; &lt;/group&gt; &lt;group id="group2" label="group2"&gt; &lt;button id="button1" label="button1" showImage="false" /&gt; &lt;/group&gt; &lt;/tab&gt; </code></pre> <p>And the code behind looks like this.</p> <pre><code>private void Button_Click(Object sender, RibbonControlEventArgs eventArgs) { MessageBox.Show("Button clicked..."); } </code></pre> <p>What am I missing? How can I debug such a thing?</p>