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

Expander problem

3 Answers 152 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
Miroslav
Top achievements
Rank 1
Miroslav asked on 12 Mar 2016, 06:10 PM

Hello,

I cannot found thread for Expander, so I get it here...

I defined this:

<StackPanel Grid.Column="1" Orientation="Vertical">
<telerikPrimitives:RadExpanderControl>
<telerikPrimitives:RadExpanderControl.ExpandableContent>
<Grid>
<telerikPrimitives:RadBusyIndicator AnimationStyle="AnimationStyle1" ...
<telerikDataControls:RadListView>

</telerikDataControls:RadListView>
</Grid>
</telerikPrimitives:RadExpanderControl.ExpandableContent>
</telerikPrimitives:RadExpanderControl>
<telerikPrimitives:RadExpanderControl x:Name="expanderSelectedAdvertisements"
IsExpanded="True" IsExpandable="False">
<telerikPrimitives:RadExpanderControl.ExpandableContent>
<Grid>
<telerikDataControls:RadListView x:Name="telerikListSelectedAdvertisements">
</telerikDataControls:RadListView>
</Grid>
</telerikPrimitives:RadExpanderControl.ExpandableContent>
</telerikPrimitives:RadExpanderControl>
</StackPanel>

 

When I start app, I get immediately this error:

System.Runtime.InteropServices.COMException: No installed components were detected.
Multiple animations in the same containing Storyboard cannot target the same property on a single element.
   at Windows.UI.Xaml.VisualStateManager.GoToState(Control control, String stateName, Boolean useTransitions)
   at Telerik.UI.Xaml.Controls.RadContentControl.SetVisualState(String state, Boolean animate)
   at Telerik.UI.Xaml.Controls.RadContentControl.UpdateVisualState(Boolean animate)
   at Telerik.UI.Xaml.Con

 

Why? When I use Expander in other view and expandable content defined as ExpandableContentTemplate, all working right.

3 Answers, 1 is accepted

Sort by
0
Mikhail
Top achievements
Rank 1
answered on 16 Mar 2016, 12:50 PM

Hello! I have the same error!

   ...
<Grid>
    <primitives:RadExpanderControl x:Name="RadExpanderControl"/>
</Grid>
   ...
RadExpanderControl.IsExpanded = true;
   ...

   at Windows.UI.Xaml.VisualStateManager.GoToState(Control control, String stateName, Boolean useTransitions)
   at Telerik.UI.Xaml.Controls.RadContentControl.SetVisualState(String state, Boolean animate)
   at Telerik.UI.Xaml.Controls.RadContentControl.UpdateVisualState(Boolean animate)
   at Telerik.UI.Xaml.Controls.Primitives.RadExpanderControl.SetInitialControlState(Boolean useTransitions)
   at Telerik.UI.Xaml.Controls.Primitives.RadExpanderControl.HandleExpandedChange(Boolean isExpanded)
   at Telerik.UI.Xaml.Controls.Primitives.RadExpanderControl.OnIsExpandedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
   at Windows.UI.Xaml.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Telerik.UI.Xaml.Controls.Primitives.RadExpanderControl.set_IsExpanded(Boolean value)
   at SalesDashboard.UWP.MainPage.Page_SizeChanged(Object sender, SizeChangedEventArgs e)


{"No installed components were detected.\r\n\r\nMultiple animations in the same containing Storyboard cannot target the same property on a single element."}

0
Ivaylo Gergov
Telerik team
answered on 17 Mar 2016, 08:25 AM
Hello guys,

This issue should be fixed in our latest internal build. Please, give it a try and let me know should you have any problems.

Regards,
Ivaylo Gergov
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Miroslav
Top achievements
Rank 1
answered on 19 Mar 2016, 02:53 PM

Hello,

I used last internal build and it's worked for me, thank you.

Best Regards

Miroslav Mareš

Tags
General Discussion
Asked by
Miroslav
Top achievements
Rank 1
Answers by
Mikhail
Top achievements
Rank 1
Ivaylo Gergov
Telerik team
Miroslav
Top achievements
Rank 1
Share this question
or