Can not add Animation to page with PanelBar

3 posts, 1 answers
  1. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 05 Aug 2008 Link to this post

    Hi;

    I'm not sure if this problem is related to Blend throwing all kinds of COM errors but I thought I report it.

    When I Open my page (a user control) I create a storyboard in Blend that takes Opacity of the page from 0 to 100 in .5 second, which seems like the page fades in and when the page is closing I create a storyboard to scale the X and Y to 0 to close the page.

    I can do this in Blend with all the pages (including the RADTab) except the page that has RADPaneBar. Blend does not complete writing the XAML code!

    Thanks!
    ..Ben
  2. Answer
    Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 06 Aug 2008 Link to this post

    Hi Ben,

    The COM errors you get are due to a bug you've already reported (the one regarding nested PanelBar items). That bug is fixed and the updated DLLs will be available with our Service Pack.

    As for adding animations to a Page containing a PanelBar - it seems to be working. I am attaching a sample Blend project in which I reproduced what you said you were trying to do. Hope it helps. Let me know if the problem persists.

    P.S. I encountered something that seems to be a bug in Blend: when you try to open the ClosingStoryboard in the Objects and Timeline pane, you get an InvalidOperationException because Blend says it cannot find the scaleTransform object. However, at run-time everything's fine and the animations work. I believe this is a bug in
    Blend because the problem remains even if I remove the PanelBar from the Page.

    Best wishes,
    Tihomir Petkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 06 Aug 2008 Link to this post

    Tihomir;

    Last night, I noticed, the real cause of the problem is, when blend is trying to generate the code for "Scale Transform" and due to this problem, it did not complete the code for the storyboard.

    Then, I copied the same code that I use in another page, to this page and it works. It's just at design time time Blend is having problem, and could be due to the COM errors.

    Thank you for the ZIP file and looking forward to SP.
    ..Ben
Back to Top