Error Transition Control

2 posts, 0 answers
  1. Madovi
    Madovi avatar
    7 posts
    Member since:
    Mar 2010

    Posted 07 Jun 2010 Link to this post

    Good morning,
     I would like to use the transition control to avoid building a storyboard.

    My Code is :

    private

     

     

    void btnDisplay_Click(object sender, RoutedEventArgs e)

     

    {

     

     

    try

     

    {

     

     

    for (int i = 1; i < 9; i++)

     

    {

     

     

    Image myImg = new Image();

     

    myImg.Source =

     

    new BitmapImage(new Uri("C:\\00002512\\00000000" + i.ToString() + ".TIF", UriKind.Absolute));

     

     

     

    this.TransitionControl1.Content = myImg;

     

     

     

    this.radProgressBar1.Value = i;

     

     

    }

    }

     

     

    catch (Exception ex)

     

    {

     

     

    MessageBox.Show(ex.Message);

     

    }

    }

    I get this error : "Cannot perform action because the specified Storyboard was not applied to this object for interactive control." when I try to load the second image.

    Can you help me?

    thanks in advance
       Max

  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 09 Jun 2010 Link to this post

    Hello Madovi,

     Could you please open a support ticket and send us a sample project that reproduces the problem? This would help us investigate what causes it and help you fix the issue.

    Sincerely yours,
    Miroslav Nedyalkov
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top