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

Panel Bar Item Visual State bug?

2 Answers 17 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 21 Feb 2011, 08:56 PM
Hi, We're currently experiencing a bug( or not?) with your panel bar control.
If you select a panel bar item inside a busy indicator, then start the busy indicator and stop it, the visual state of the selected panel bar item seems broken. The border "DisabledVisual" doesn't seems to collapse or the opacity set back to 0.

I got a simple code to help you reproduce the behavior.

    x:Class="SilverlightApplication18.MainPage"
    Width="640" Height="480">
 
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
    <telerik:RadBusyIndicator x:Name="bsi">
        <telerik:RadPanelBar Height="250" >
            <telerik:RadPanelBarItem Header="Allo"/>
            <telerik:RadPanelBarItem Header="Allo1"/>
            <telerik:RadPanelBarItem Header="Allo2"/>
        </telerik:RadPanelBar>
    </telerik:RadBusyIndicator>
     
    <Button Grid.Row="1" Grid.Column="0" Content="Busy" Margin="85" x:Name="Busy"/>
    <Button Grid.Row="1" Grid.Column="1" Content="NotBusy" Margin="85" x:Name="NotBusy"/>      
    </Grid>
 
</UserControl>

Visual Basic Code.
Partial Public Class MainPage
    Inherits UserControl
 
    Public Sub New()
        InitializeComponent()
    End Sub
 
    Private Sub NotBusy_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles NotBusy.Click
        bsi.isbusy = False
    End Sub
 
    Private Sub Busy_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Busy.Click
        bsi.isbusy = True
    End Sub
End Class

Is it normal or it's really a visual bug?

Mike

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 24 Feb 2011, 06:45 PM
Hello Mike,

This appears to be a bug in the RadPanelBar. We logged it in our PITS(PanelBar: Incorrect visual state/appearance when placed in BusyIndicator) and updated your telerik point accordingly. You will be soon able to vote for it. Please accept our apologies for the inconvenience caused.

All the best,
Petar Mladenov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Mike
Top achievements
Rank 1
answered on 24 Feb 2011, 10:08 PM
Thanks a lot.
Tags
PanelBar
Asked by
Mike
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Mike
Top achievements
Rank 1
Share this question
or