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

RibbonBar buttons are all gray at startup

7 Answers 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Charles Bates
Top achievements
Rank 1
Charles Bates asked on 19 May 2011, 04:11 PM
Hello,
Our deployed SL 4 application has some strange startup behavior -- all the controls are gray, as though disabled, until the mouse is moved over them.
This includes the buttons on the RibbonBar, the text in the rich text boxes, and the tabs on the closed docking panes.
I have not seen this running locally.  I suspect it has something to do with Release v. Debug builds.

Thanks for any insight into this...
We are using the 2010.1.422.1030 release.

7 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 25 May 2011, 08:21 AM
Hello Charles Bates,

Please accept our apology for the delayed response.

We are not aware of such issues with the RibbonBar control and unfortunately we aren't able to reproduce it locally. This is why I wanted to ask you to please isolate the issue in a small running sample and send it to us so that we can further investigate your case.

Thank you in advance for your cooperation.

Kind regards,
Tina Stancheva
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Charles Bates
Top achievements
Rank 1
answered on 04 Aug 2011, 08:52 PM
Hello,
It seems the behavior is related to using the BusyIndicator control.  Here is a very slimmed down version of our application.
<Grid >
    <toolkit:BusyIndicator x:Name="AppBusyIndicator"  >
        <Grid x:Name = "LayoutRoot" >
                <!--  RibbonBar  -->
                <ribbon:RadRibbonBar x:Name = "ribbonBar" HorizontalAlignment = "Stretch" >
                </ribbon:RadRibbonBar>
                <!-- end of entire rad ribbon bar -->
            </Grid>
            <dock:RadDocking x:Name = "Docking" Grid.Row = "1"  >
                <dock:RadDocking.DocumentHost>
                    <dock:RadSplitContainer >
                        <dock:RadPaneGroup AllowDrop = "True" />
                        <dock:RadPaneGroup AllowDrop = "True" Visibility = "Collapsed" />
                    </dock:RadSplitContainer>
                </dock:RadDocking.DocumentHost>
                <dock:RadSplitContainer x:Name = "dockLeft"  Orientation = "Vertical" Width = "260">
                    <dock:RadPaneGroup >
                    </dock:RadPaneGroup>
                    <dock:RadPaneGroup tagsGroup">
                    </dock:RadPaneGroup>
                </dock:RadSplitContainer>
            </dock:RadDocking>
        </Grid>
    </toolkit:BusyIndicator>
</Grid>
At startup, we typically create 5 RadTabItem controls.  Each TabItem contains a Canvas; each canvas can have scores of user controls added to it.
We dismiss the BusyIndicator when we have finished populating the ViewModels and creating all the View controls.  I don't know what the exact threshold for the number of tabs/usercontrols is, but at a certain point the BusyIndicator is slow to dismiss, and the Rad controls - buttons, docking pane tabs, tabitem tabs, etc, are drawn as though disabled.  When mouse cursor moves over them, they are drawn in their correct state.
If we don't use the BusyIndicator, but use a Wait cursor instead, we don't see the strange gray behavior.

However, there is a problem using the wait cursor:  it is difficult to know when all the tabitems are fully populated and displayed.
We have tried hooking RadTabItem.Loaded for each tab item, and changing the cursor when we count the correct number of tabs has been created.  However, this doesn't work as expected.  We have tried hooking RadTabControl.Loaded; it, too, fires the Loaded event before everything is drawn and ready.
Any suggestions how to solve either of  these problems would be appreciated...


0
Tina Stancheva
Telerik team
answered on 09 Aug 2011, 04:03 PM
Hi Charles Bates,

Have you tried using the RadBusyIndicator control instead of the toolkit BusyIndicator? It should work in the described scenario out-of-the-box. But if you find any issues with it, please let us know so that we can further investigate the case.

Regards,
Tina Stancheva
the Telerik team

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

0
Charles Bates
Top achievements
Rank 1
answered on 09 Aug 2011, 05:15 PM
Thanks for the reply.  In what version of the controls did the RadBusyIndicator first appear?
0
Tina Stancheva
Telerik team
answered on 09 Aug 2011, 05:21 PM
Hello Charles Bates,

The control was included in the Q2 2010 official release.

Regards,
Tina Stancheva
the Telerik team

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

0
Charles Bates
Top achievements
Rank 1
answered on 10 Aug 2011, 03:51 PM
Thanks for the reply.  
I have tried the RadBusyIndicator in the 2010 Q3 version of the controls.
It appears to have eliminated the problem with the docking pane tabs, tab control tags, buttons, etc., but the content of the tab items (richtextboxes, mostly) are still appearing as disabled until the cursor moves over them.  This only happens when we have a lot of content on several (4 or 5 or more) RadTabitems.

0
Tina Stancheva
Telerik team
answered on 15 Aug 2011, 02:01 PM
Hello Charles Bates,

There were such issues in the control but they are already fixed. Can you test your scenario with the latest version of our controls and let us know how that goes?

Regards,
Tina Stancheva
the Telerik team

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

Tags
General Discussions
Asked by
Charles Bates
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Charles Bates
Top achievements
Rank 1
Share this question
or