ContextualGroup not redraws insert Tab

2 posts, 0 answers
  1. Maxim
    Maxim avatar
    2 posts
    Member since:
    Apr 2011

    Posted 16 Dec 2013 Link to this post

    Hello,

    I have issue with RadRibbonView and ContextualGroup.
    I've created RadRibbonView with two tabs and these tabs referenced to ContextualGroup.
    Then I through code insert new Tab, and what is see Contextual Group not redrawing correctly.
    Only browser resize helps solve this issue.

    Regards,
    Maxim Elgazin



  2. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 17 Dec 2013 Link to this post

    Hello Maxim,

    I have already replied to you in your support ticket, but I will post the workaround here so other people might use it until its resolution.
    The workaround consist of hiding the ContextualGroup before the adding of the new RadRibbonTabItem and showing it right after the new item is added, like follows:
    ...
    Group1.IsActive = false;
    ribbon1.Items.Insert(0, tab);
    Group1.IsActive = true;
    ...

    Kind regards,
    Kiril Vandov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top