ContentTemplate and DataTemplate

3 posts, 1 answers
  1. Stefano
    Stefano avatar
    9 posts
    Member since:
    Jul 2012

    Posted 01 Mar 2011 Link to this post

    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. Answer
    Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 06 Mar 2011 Link to this post

    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>>
  3. DevCraft banner
  4. Stefano
    Stefano avatar
    9 posts
    Member since:
    Jul 2012

    Posted 07 Mar 2011 Link to this post

    Thanks for the reply, i will look forward for the final release.
    Stefano
Back to Top