How to change the content of a RadTransitionControl.ContentTemplate

2 posts, 0 answers
  1. ajoua taha
    ajoua taha avatar
    25 posts
    Member since:
    Feb 2016

    Posted 06 Sep 2016 Link to this post

    I have a listBox related with RadTransitionControl , when i change selected item of the listBox , i want to change all the content in the RadTransitionControl 

    (Inject an other userControl)

  2. Kalin
    Kalin avatar
    1353 posts

    Posted 08 Sep 2016 Link to this post


    One solution would be to bind single property from the ViewModel to the SelectedItem property of the ListBox and to the Content property of the TransitionControl. Afterwards by using ContentTemplateSelector you would be able to change the current ContentTemplate whenever the bound Content property changes.

    Hope this will help you. However if this is not applicable in your scenario, I would like to ask you to share a sample project demonstrating the exact case so we can provide prompt solution.

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top