Problem with Contextual Tabs using MVVM and ItemTemplateSelector

2 posts, 0 answers
  1. Rishabh
    Rishabh avatar
    10 posts
    Member since:
    Jun 2012

    Posted 11 Jun 2012 Link to this post

    Hi,

    I am facing a problem while using the RibbonView and populating it's items using MVVM.

    The problem is specifically related to the Contextual tabs, and occurs only when using an ItemTemplateSelector to populate the RadRibbonButtons. The problem is that only a TextBlock is generated instead of a RadRibbonButton in the contextual tabs. The ItemTemplateSelector works fine with normal tabs but in the case of contextual tabs, the ItemTemplateSelector isn't even accessed and just a text block is generated instead. The problem goes away when I place a single ItemTemplate instead of using an ItemTemplateSelector.

    I have posted regarding this in another thread in detail, with reference to a project attached from you guys that also has the same problem. Here is the link to that post:
    http://www.telerik.com/community/forums/silverlight/ribbonview/radribbonview-prism-support-contextual.aspx#2137916
  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 13 Jun 2012 Link to this post

    Hi Rishabh,

    As I have mentioned in the other forum post the issue is logged under the name "RibbonView: ItemTemplateSelector not working for contextual tabs" and it is ready for tracking and voting.

    Kind regards,
    Viktor Tsvetkov
    the Telerik team

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

  3. DevCraft banner
Back to Top