RadRibbonTab error in Expression Blend

4 posts, 0 answers
  1. Michael
    Michael avatar
    15 posts
    Member since:
    Jul 2011

    Posted 09 Aug 2011 Link to this post

    I'm upgrading our project to use the Q2 2011 release, and I'm trying to use the RadRibbonView (we didn't use the RibbonBar component).

    In EB, when I try to set the header of a RadRibbonTab to some other text, I receive this error:

    The local property "Header" can only be applied to types that are derived from "HeaderedItemsControl".

    This doesn't happen in Visual Studio.  This only seems to be a design time error in EB, but it's definitely holding me up.

    Finally, if I start a new project in EB, things work fine, so I'm assuming I have a reference or style conflict somewhere, but I can't figure it out.  Also, the EB property pages have items grouped differently.  I don't think I have any assemblies hanging around from previous installations....

    What should I look for to fix this?
  2. Michael
    Michael avatar
    15 posts
    Member since:
    Jul 2011

    Posted 10 Aug 2011 Link to this post

    It looks like the problem dissappeared after removing the reference paths from the project from within Visual Studio.   I'm assuming it was trying to load the RadRibbonTab component from the RibbonBar assembly instead of what its reference was set to be.  :-/
  3. Voltz
    Voltz avatar
    17 posts
    Member since:
    Aug 2011

    Posted 19 Apr 2012 Link to this post

    Not sure if i should create a new thread but the title is a similar problem under a different situation.

    I'm trying to extract a template for the RadRibbonTab via EB but it is not letting me do so.

    <telerikRibbon:RadRibbonView  IsBackstageOpen="True"  >
            <telerikRibbon:RadRibbonTab Header="test" ></telerikRibbon:RadRibbonTab>

    is giving me a design error saying "Cannot add content to an object of type 'RadRibbonView'". This prevents me from retrieving the template via Style Resource option of EB.


  4. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 24 Apr 2012 Link to this post

    Hi Felipe,

    I wasn't able to reproduce the issue, but such issues may arise if you're adding controls from the EB Assets and the RadRibbonView control comes from the Telerik.Windows.Controls.RibbonView.dll, while the RadRibbonTab comes from the Telerik.Windows.Controls.RibbonBar.dll.

    However, in a sample project where I've referenced the 2011.3.1220.1040 version of the following assemblies:
    • Telerik.Windows.Controls
    • Telerik.Windows.Controls.Input
    • Telerik.Windows.Controls.Navigation
    • Telerik.Windows.Controls.RibbonView
    everything works as expected. I attached my sample project so that you can test it on your side. It also contains the default style and ControlTemplate of the RadRibbonTab control for your reference.

    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top