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
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.