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

Animation with position

4 Answers 67 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ben White
Top achievements
Rank 1
Ben White asked on 19 Apr 2010, 02:46 PM
Hi,

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?

Thanks.

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 23 Apr 2010, 08:09 AM
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?


Greetings,
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.
0
Haris
Top achievements
Rank 1
answered on 22 Dec 2011, 09:24 AM
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 !
0
Princy
Top achievements
Rank 2
answered on 22 Dec 2011, 11:00 AM
Hello,

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

Thanks,
Princy.
0
Dobromir
Telerik team
answered on 26 Dec 2011, 01:09 PM
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.


Regards,
Dobromir
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
Ben White
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Haris
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Dobromir
Telerik team
Share this question
or