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

ContentTemplate and DataTemplate

2 Answers 99 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stefano
Top achievements
Rank 1
Stefano asked on 01 Mar 2011, 03:00 PM
Hi,
i'm using a RadTransitionControl inside a page to swap some text contents. If i change the Content property by assigning an UIElement object, i get the animations but if i set a string, the control simply update the text without animations.
All i need to display are some simple strings but i'm not able to define a DataTemplate that actually works.
I've tried to create a simple DataTemplate that contains only a TextBlock with {TemplateBinding Content} as the value of the Text property but all i get is an empty TextBlock.
Could you please give me an actual example of the correct way to implement this ?
Thanks
Stefano

2 Answers, 1 is accepted

Sort by
0
Accepted
Valentin.Stoychev
Telerik team
answered on 06 Mar 2011, 12:02 PM
Hi Stefano,

Sorry for the late reply.

This behavior is a limitation in the current version of the control. We will try to fix this for the official release which is coming in less than two weeks.

Greetings,
Valentin.Stoychev
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Stefano
Top achievements
Rank 1
answered on 07 Mar 2011, 10:31 AM
Thanks for the reply, i will look forward for the final release.
Stefano
Tags
TransitionControl
Asked by
Stefano
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Stefano
Top achievements
Rank 1
Share this question
or