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

Coverlflow Broken in New Q3 Version

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 16 Nov 2009, 07:06 PM
Whenever i open a child window with the new version of the Coverflow ... Nov 2009 release.  I get the error that it cant find the target DisabledBox.  Looking at the Item Template, I see the the State of the template sets the targetName to DisabledBox for Disabled and Yet the template defines the box as PART_DisabledBox.  Can we get a fix for this please?

Below ... Highlighted in Bold
Thanks, 
Joe 

        <Style x:Key="RadCoverFlowItemStyle1" TargetType="telerikNavigation:RadCoverFlowItem">
         <Setter Property="Template">
          <Setter.Value>
           <ControlTemplate TargetType="telerikNavigation:RadCoverFlowItem">
            <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
             <VisualStateManager.VisualStateGroups>
              <VisualStateGroup x:Name="CommonStates">
               <VisualState x:Name="Focused"/>
               <VisualState x:Name="Disabled">
                <Storyboard>
                 <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="DisabledBox" Storyboard.TargetProperty="Visibility">
                  <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                 </ObjectAnimationUsingKeyFrames>
                </Storyboard>
               </VisualState>
               <VisualState x:Name="MouseOver"/>
               <VisualState x:Name="Normal"/>
              </VisualStateGroup>
              <VisualStateGroup x:Name="SelectionStates">
               <VisualState x:Name="Selected"/>
               <VisualState x:Name="Unselected">
                <Storyboard>
                 <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="ContentElement" Storyboard.TargetProperty="IsHitTestVisible">
                  <DiscreteObjectKeyFrame KeyTime="0" Value="False"/>
                 </ObjectAnimationUsingKeyFrames>
                </Storyboard>
               </VisualState>
              </VisualStateGroup>
              <VisualStateGroup x:Name="ContentStates">
               <VisualState x:Name="Loaded"/>
               <VisualState x:Name="Loading">
                <Storyboard>
                 <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="LoadingVisual" Storyboard.TargetProperty="Visibility">
                  <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                 </ObjectAnimationUsingKeyFrames>
                 <DoubleAnimation Duration="0:0:2" RepeatBehavior="Forever" Storyboard.TargetName="LoadingVisualAngleTransform" Storyboard.TargetProperty="Angle" From="0" To="359"/>
                 <DoubleAnimation Duration="0" Storyboard.TargetName="ContentElement" Storyboard.TargetProperty="Opacity" To="0"/>
                </Storyboard>
               </VisualState>
               <VisualState x:Name="InvalidContent">
                <Storyboard Duration="0">
                 <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ErrorElement" Storyboard.TargetProperty="Visibility">
                  <DiscreteObjectKeyFrame KeyTime="0" Value="Visible"/>
                 </ObjectAnimationUsingKeyFrames>
                </Storyboard>
               </VisualState>
              </VisualStateGroup>
             </VisualStateManager.VisualStateGroups>
             <Grid Background="Transparent">
              <ContentPresenter x:Name="ContentElement" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
              <Grid x:Name="LoadingVisual" HorizontalAlignment="Center" MaxHeight="50" MaxWidth="50" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed">
               <Grid.RenderTransform>
                <RotateTransform x:Name="LoadingVisualAngleTransform" Angle="0" CenterX="0.5" CenterY="0.5"/>
               </Grid.RenderTransform>
               <Path Stretch="UniformToFill" Stroke="Gray" StrokeEndLineCap="Triangle" StrokeStartLineCap="Flat" StrokeThickness="6" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M1,0 A1,1,90,1,1,0,-1"/>
              </Grid>
              <Image x:Name="ErrorElement" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed" Source="/Telerik.Windows.Controls.Navigation;component/images/CoverFlowError.png" Stretch="None"/>
              <Rectangle x:Name="PART_DisabledBox" Fill="{StaticResource DisabledBrush}" Visibility="Collapsed"/>
             </Grid>
            </Border>
           </ControlTemplate>
          </Setter.Value>
         </Setter>
         <Setter Property="CacheMode">
          <Setter.Value>
           <BitmapCache/>
          </Setter.Value>
         </Setter>
        </Style>

1 Answer, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 17 Nov 2009, 11:42 AM
Hi Joe,

We are aware of this problem, nevertheless thank you for mentioning it again  We have already handled it and the bug is resolved. You can download our Internal Build in Friday that will contain the bug fix. I am really sorry for this inconvenience, and I hope this is a reasonable timeframe for you.

If you have any other issues or problems, please get back to us immediately.

Sincerely yours,
Hristo Borisov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Joe
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Share this question
or