Project Center -> remove ribbon group -> Javascript error RRS feed

  • Question

  • Hello,

    I'm trying to remove the ribbon groups "Zoom" and "Show/Hide" from the Project Center ribbon. I've created a feature in Visual Studio having this elements.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="">
        Title="Modify the project center contextual group">
            <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.Navigate" />
            <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.ShowHide" />

    After deploying and activating the feature, the ribbon groups are gone, but I get a Javascript error:

    Message: Attempting to attach to Id: Ribbon.ContextualTabs.ProjectCenter.Home.Navigate but this id is not present in the DOM
    Line: 4723
    Char: 21
    Code: 0
    URI: http://vmsp20project/ScriptResource.axd?d...

    Seems like, that a build-in Javascript function still tries to access those groups. Is there any way to "skip" Javascript execution for removed groups?


    Monday, March 21, 2011 11:27 AM

All replies