can I animate moveTo

2 posts, 0 answers
  1. moegal
    moegal avatar
    278 posts
    Member since:
    Jul 2007

    Posted 15 Mar 2013 Link to this post

    Can I animate moveTo?  I have a window I want to keep it in the page when a person is scrolling.  It works but I would like to have a slight lag and use jquery to animate.


  2. Marin Bratanov
    Marin Bratanov avatar
    5534 posts

    Posted 18 Mar 2013 Link to this post

    Hello Marty,

    You can Pin the RadWindow so it stays in place when scrolled. This is easiest done with the following line:
    if(!oWnd.isPinned()) oWnd.togglePin();

    and this can be executed in the OnClientShow event, for example, to have it always pinned. In the above line oWnd is a reference to the RadWindow object; in case you call it in a handler for one of its client-side events you can use the first argument the handler receives.

    All the best,
    Marin Bratanov
    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