Panel Bar Item Visual State bug?

3 posts, 0 answers
  1. Mike
    Mike avatar
    34 posts
    Member since:
    Jan 2010

    Posted 21 Feb 2011 Link to this post

    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. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 24 Feb 2011 Link to this post

    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!
  3. DevCraft banner
  4. Mike
    Mike avatar
    34 posts
    Member since:
    Jan 2010

    Posted 24 Feb 2011 Link to this post

    Thanks a lot.
Back to Top