This is a migrated thread and some comments may be shown as answers.

ContextualGroup not redraws insert Tab

1 Answer 20 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Maxim
Top achievements
Rank 1
Maxim asked on 16 Dec 2013, 10:36 AM
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



1 Answer, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 17 Dec 2013, 03:21 PM
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 >>
Tags
RibbonView and RibbonWindow
Asked by
Maxim
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Share this question
or