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

Do something during selection change animation

3 Answers 83 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Christopher
Top achievements
Rank 1
Christopher asked on 27 Dec 2012, 09:38 PM
I need to hide some adorners during the selection change animation on the RadCarousel (and unhide them after).

I tried intercepting the SelectionChanging and SelectionChanged events, and hiding the elements there, but they don't hide!

So I thought maybe the system won't update the UI while an animation is running...so I then tried creating a simple animation to hide the adorner (again on the above mentioned events).  Still the UI changes don't change until after the selection animation has completed.

Is there a way to get around this?

Many thanks!
Chris

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 28 Dec 2012, 07:26 AM
Hello Christopher,

Could you clarify what elements you want to hide ? Why do you want to hide them ?  

All the best,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Christopher
Top achievements
Rank 1
answered on 28 Dec 2012, 07:30 AM
The adorners are my own, which I'm displaying on top of the RadCarousel control.  They essentially display additional information about the current item.  But when the current item changes, they need to be hidden during that animation.
0
Maya
Telerik team
answered on 02 Jan 2013, 07:43 AM
Hello Christopher,

Since you are extending the functionality of RadCarousel with some custom elements, I am not able to suggest any further without more information. Will it be possible to send a sample project illustrating what you are doing and what is the exact behavior you require ?  

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Carousel
Asked by
Christopher
Top achievements
Rank 1
Answers by
Maya
Telerik team
Christopher
Top achievements
Rank 1
Share this question
or