Animations exception

3 posts, 0 answers
  1. MILSTRON
    MILSTRON avatar
    1 posts
    Member since:
    Jun 2013

    Posted 08 Sep Link to this post

    Hello!

    I have a problem running the SlideAnimation animation in the popup control. I get an exception.

     

    System.Runtime.InteropServices.COMException: 'No installed components were detected.

    Cannot resolve TargetProperty ClipStartXProperty on specified object.'

     

    My code:

        public sealed partial class MainPage : Page
        {
            public MainPage()
            {
                this.InitializeComponent();
                this.Loaded += MainPage_Loaded;
            }

            private void MainPage_Loaded(object sender, RoutedEventArgs e)
            {


            }

            private void Button_Click(object sender, RoutedEventArgs e)
            {
                RadSlideAnimation animation = new RadSlideAnimation();
                //animation.StartPoint = new Point(0, 0);
                //animation.EndPoint = new Point(200, 200);
                animation.Duration = new Duration(TimeSpan.Parse("0:0:0.500"));
                animation.MoveDirection = MoveDirection.BottomIn;
                animation.Ended += Animation_Ended;
                RadAnimationManager.Play(this.animatedPopup, animation);
            }

            private void Animation_Ended(object sender, AnimationEndedEventArgs e)
            {

            }
        }

     

    And second problem with compiler error:

    XamlCompiler error WMC0070: Invalid ContentPropertyAttribute on type 'RadAnimationSelector', property 'Animations' is not found

    XamlCompiler error WMC0050: Cannot assign 'RadFadeAnimation' into the read only property 'Animations'

    My code:

    <Page
        x:Class="App1.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="using:App1"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerikCore="using:Telerik.Core"
        mc:Ignorable="d">
        <Page.Resources>
            <telerikCore:RadFadeAnimation x:Key="rectangleFadeAnimation" />
        </Page.Resources>

        <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

            <Rectangle x:Name="animatedRectangle" Width="100" Height="100" Fill="#FF00BDD2">
                <telerikCore:RadAnimationManager.AnimationSelector>
                    <telerikCore:RadAnimationSelector>
                            <telerikCore:RadFadeAnimation AnimationName="FadeAnimation" />
                    </telerikCore:RadAnimationSelector>
                </telerikCore:RadAnimationManager.AnimationSelector>
            </Rectangle>

        </Grid>
    </Page>

     

     

     

  2. Nasko
    Admin
    Nasko avatar
    691 posts

    Posted 13 Sep Link to this post

    Hi Jaroslaw,

    We were able to reproduce the described by you issues, however we need some more time in order to investigate them further in order to be sure about the exact cause.

    As soon as we have some more detailed information to share we will write back to you.

    Thank you for your patience.

    Regards,
    Nasko
    Progress 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
  3. Nasko
    Admin
    Nasko avatar
    691 posts

    Posted 18 Sep Link to this post

    Hi Jaroslaw,

    After further investigation we confirm the observed by you issues. We have logged them in our Feedback portal. You could track their status on the following links:
    https://feedback.telerik.com/Project/167/Feedback/Details/228018-animationmanager-the-designer-breaks-when-radanimationselector-is-declared-in-xa

    https://feedback.telerik.com/Project/167/Feedback/Details/228016-animationmanager-applying-slideanimation-throws-comexception

    Unfortunately, currently we could not suggest you any workarounds for both of them. ​We apologize for the inconvenience the issues might be causing you. We have updated your Telerik points for the involvement.

    If you have any additional questions or concerns regarding Telerik controls, please do not hesitate to contact us.

    Regards,
    Nasko
    Progress 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
Back to Top