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

Want to show some animation with Dock controls

5 Answers 74 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Erik Damgaard
Top achievements
Rank 1
Erik Damgaard asked on 23 Feb 2011, 10:22 AM

Hello Admin,
We have a Silverlight application and we need to show multiple pages .So we are using Telerik Dock control. We add Pages (RadPanes) at run time .Can we add some animation while adding /moving/closing a page in DockControl.Like sliding effect.
I am attaching a link with this mail.
http://demos.telerik.com/silverlight/#TransitionControl/FirstLook. I need a feature similar to  this. Please let me know whether we can implement this feature in Dock control or not. If yes can you please add a example with the reply.Please help me solving my problem.
I am waiting for your reply.

Thanks

5 Answers, 1 is accepted

Sort by
0
Erik Damgaard
Top achievements
Rank 1
answered on 01 Mar 2011, 06:56 AM
Hi Admin,
No reply from you. Please let me know If this could be done or not.

Thanks
0
Pana
Telerik team
answered on 01 Mar 2011, 10:59 AM
Hello Erik,

You have to use custom ControlTemplate for the RadDocking's RadPaneGroup controls. I have attached an example with the ContentPresenters replaced by RadTransitionControl inside RadPaneGroup controls. Search for "NOTE:" comments to find the changes.

Greetings,
Pana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Erik Damgaard
Top achievements
Rank 1
answered on 01 Mar 2011, 12:42 PM
Hi Pana,
I did the same thing ,but it didn't work at that time .I made a mistake by not putting the Tranistion control in GroupDocumentTemplate. Now it worked after replacing the Transition Control in that Template.
Thanks for your help.I will check the whole thing then I will close the request.
Thanks
0
Erik Damgaard
Top achievements
Rank 1
answered on 01 Mar 2011, 01:08 PM
Hi Pana,
Thanks for the application . I have one more query ,Can we customize the Transition behaviour of the Transition control.It means Can I apply different transition effect for different activity ,like
While adding a Pane I want to use a different Transition,While Selecting a pane a different Transition and while closing a Pane a different Transition.I think we can Customize the Transition Control Style to achive this . I am not sure whether this can be carried out or not.Please let me know whether I can achive this or not.
Again thanks for your help.
Thanks
0
George
Telerik team
answered on 04 Mar 2011, 09:33 AM
Hello Erik,

I am afraid this is not possible to achieve. The transition control applies one and same transition effect when its content is changed.

 

Regards,
George
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Docking
Asked by
Erik Damgaard
Top achievements
Rank 1
Answers by
Erik Damgaard
Top achievements
Rank 1
Pana
Telerik team
George
Telerik team
Share this question
or