none
Set Active Ribbon Tab When Opening a Document RRS feed

  • Question

  • I am opening document level adding from a ribbon and setting the ribbon active on the new doc. This seems to work, but when I go to a second ribbon and open a document it will not active the ribbon.

    Does this have to do with the object being Marshalled? I am not real familiar with the term but hear it can be an issue. I am hitting the IRibbonUI.ActivateTabQ on the SelectedItem event in the Ribbon adding.

    Thanks

     

    Wednesday, September 7, 2011 9:16 PM

Answers

  • I ended setting the ribbon.ActiveTabQ("TabName", "Namespace") on the Documents On_Load event for the ribbon. Working pretty good...

     

    Thanks for the reply!

    Thursday, September 8, 2011 11:25 PM

All replies

  • Hi,

     

    Did you tried this?

    <tab id="Tabname" insertBeforeMso="TabHome">

    .........

    </tab>


    venugopal
    Thursday, September 8, 2011 4:54 AM
  • I ended setting the ribbon.ActiveTabQ("TabName", "Namespace") on the Documents On_Load event for the ribbon. Working pretty good...

     

    Thanks for the reply!

    Thursday, September 8, 2011 11:25 PM