Animating Radwindow while opening and closing.

2 posts, 0 answers
  1. Ivy
    Ivy avatar
    30 posts
    Member since:
    Feb 2013

    Posted 09 Feb 2014 Link to this post

    Hi Telerik Support

    I am opening a radwindow on the click of a radbutton and want to provide some animations while opening and closing a Radwindow. On googling I came up with a thread where the admin states that for the time being they are trying to provide more functionalities for the control and does not support animation (seems to be an old thread). Do the latest version supports animation?

    Then I found that the Ajaxcontrol toolkit is providing an animation extender control which works pretty well with their modalpopupextender control and I tried to use the same animationextender with my radwindow which caused some unusual behavior in the page events especially clicks and all. So, Does the animationextender control works properly with RadWindow? If it works I wish if someone can post a full working solution here.

  2. Marin Bratanov
    Marin Bratanov avatar
    3908 posts

    Posted 10 Feb 2014 Link to this post

    Hi Ivy,

    RadWindow offers a property called Animation that lets you choose from several different animations while opening - Fade, FlyIn, Resize, Slide.

    The closing animation (when Animation is set to something different than None) is always Fade, however. This KB article explains how to change it to Resize if you like.

    On the AnimationExtender from the AjaxControlToolkit - I have not attempted to use it with RadWindow and this is not supported by the control. Nevertheless, if it has some client-side API that you can use, you should pass the popup element of the RadWIndow (can be obtained in the OnClientShow event via the get_popupElement() client-side method). Note that this element is created with JavaScript and is not available before the OnClientShow event of the given RadWindow instance.

    Marin Bratanov
    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top