Ribbon XML dropDown getItemLabel not firing RRS feed

  • Question

  • Hello,

      getItemCount fires but not getItemLabel.  I am using VS 2005 SE VSTO.  As I understand it, it is supposed to fire once for each item in the dropdownlist.  I am using this example



    Monday, August 22, 2011 11:32 AM


  • Carefully check the spelling, including capitalization, of the attribute and the procedure to which it refers. They must match exactly.

    Also check the method signature of the callback procedure. The sample code you link to is for VBA, but I'm fairly certain you're using VB.NET or C#. You'll need a function, rather than a sub (or void) with one parameter less, that returns a String. You'll find a complete listing of the method signatures for the various callbacks in this article:

    Cindy Meister, VSTO/Word MVP
    • Marked as answer by Lugalzagesi Tuesday, August 23, 2011 9:00 AM
    Monday, August 22, 2011 1:34 PM