Animation with position

5 posts, 0 answers
  1. Ben White
    Ben White avatar
    23 posts
    Member since:
    Feb 2010

    Posted 19 Apr 2010 Link to this post


    I have a RadWindowManager.

    In the code behind I create a new window after a button click and set the OffsetElementID together with an animation effect (fade)

    The animation effect does not seem to work whenever I use the OffsetElementID.

    Has anyone come across this before?

  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 23 Apr 2010 Link to this post

    Hello Ben,

    I tried to reproduce the problem locally but as you can see from the attached movie, everything is working as expected. Could you please check the movie and let me know if I am missing something?

    Georgi Tunev
    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. Haris
    Haris avatar
    7 posts
    Member since:
    Mar 2011

    Posted 22 Dec 2011 Link to this post

    Hi Ben,
    Can we use animation with Positioning (Left, Top etc) ? It seems like the window "animates" first and then the positioning take effect.
    Thank in advance !
  4. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 Dec 2011 Link to this post


    Take a look into the following KB article.
    Close RadWindow with Resize animation instead of Fade

  5. Dobromir
    Dobromir avatar
    1633 posts

    Posted 26 Dec 2011 Link to this post

    Hi Haris,

    You are correct, at present RadWindow applies the offset set  by its Left and Top properties after the animation ends. I have logged this issue into our database and we will investigate it further. But I cannot assure you that the current behavior will be modified in the future.

    At present, as a work around I can suggest you to handle the ClientBeforeShow event and manually position the window according to the OpenerElement (or the element that should be set to the OffsetElementId property) without setting the OffsetElementId.

    For your convenience I have attached a sample page demonstrating this approach.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top