RibbonTab IsSelected issue in RibbonView

4 posts, 0 answers
  1. VS
    VS avatar
    101 posts
    Member since:
    Jul 2008

    Posted 18 Mar 2013 Link to this post


    I have a RadRibbonView with RadRibbonTab inside it to display Module names.
    The itemsource of RadRibbonView is set with my modules and these modules are converted to tabs at runtime using a converter to the ItemSource.
    From the converter, I set the first tab as IsSelected= true and it set correctly and higlights the specific tab.
    But the details/contents of that tab is not displayed.
    Ie: OnSelectionTabChanged event doesn't fire in this case.
    Where when I click a different tab, it works fine. but when i click the first tab again, it doesn't work.
    When I checked using WPF inspector, i can see that IsSelected property of the first tab is always true even when i select a different tab.
    any help?

    am using 2013 Q1.
    The same code was working perfectly whern i used rabribbontab. Now am converting this to radribbonview ince ribbontab doesnt exists in the new release.


  2. Kiril Vandov
    Kiril Vandov avatar
    324 posts

    Posted 20 Mar 2013 Link to this post

    Hello Varikkara,

    We have already answered this question in the support thread (ticket ID: 672236) you started. Please let us know if you have further questions.

    Kind regards,
    Kiril Vandov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Barry
    Barry avatar
    90 posts
    Member since:
    May 2016

    Posted 19 Jul 2019 in reply to Kiril Vandov Link to this post

    The answer posted here would of helped me with a similar issue...
  4. Martin Ivanov
    Martin Ivanov avatar
    2420 posts

    Posted 23 Jul 2019 Link to this post

    Hello Barry,

    Posting the reply from the support thread in case this helps.


    "Setting the RadRibbonView ItemSource collection will automatically wrap each business item in RadRibbonTab. Using a converter which creates RadRibbonTabs will cause each converter tab to be nested in another dynamically generated RadRibbonTab which may lead to unexpected results.

    If you want to use MVVM and fill the ItemSource collection using your own classes you could use HierarchicalDataTemplate. You could see the RadRibbonView MVVM implementation in our demo "Paint with MVVM" here."


    Regards, Martin Ivanov
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top