Ribbon does not show in ElementHost

3 posts, 0 answers
  1. Joshua
    Joshua avatar
    5 posts
    Member since:
    May 2013

    Posted 13 Nov 2015 Link to this post

    We have a existing project that uses some older telerik libraries.
    This application uses the RadRibbonView inside of an ElementHost control. It works great with the older telerik libraries.

    I upgraded to the latest 2015 Q3 binaries and I am having problems.

    The ribbon no longer displays in the element host.

    I did some sanity checks by putting other telerik components into the element host, and they display fine.

    Attached is a simple project that reproduces the issue.

    Basically it creates a usercontrol.
    Adds a simple ribbonview
    Adds this ribbon view to a win forms control via element host.

    Link to the project:


  2. Joshua
    Joshua avatar
    5 posts
    Member since:
    May 2013

    Posted 14 Nov 2015 in reply to Joshua Link to this post

    Some more information.

     It looks like that last version that it may have worked is: 2012_3_1129. In the 2013 binaries it stops working inside the element host.

  3. Kiril Vandov
    Kiril Vandov avatar
    324 posts

    Posted 16 Nov 2015 Link to this post

    Hello Joshua,

    The RadRibbonView have a build in logic to become collapsed when the size of the application get really small. In your application the WPF host element have very small size and that is why the RadRibbonView is collapsed and you cant see it. You can change that default behavior by setting the CollapseThresholdSize="0 0" property of the RadRibbonView to "0 0" (width and height). Doing so the RadRibbonView will be visible even the application get really small.

    I hope this information helps.

    Kind regards,
    Kiril Vandov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top