This is a migrated thread and some comments may be shown as answers.

can I animate moveTo

1 Answer 30 Views
Window
This is a migrated thread and some comments may be shown as answers.
moegal
Top achievements
Rank 1
moegal asked on 16 Mar 2013, 01:06 AM
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.

Thanks,

Marty

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 18 Mar 2013, 11:49 AM
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.
Tags
Window
Asked by
moegal
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or