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

Change DataTemplate on Check

1 Answer 42 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 1
Kyle asked on 18 Nov 2009, 04:10 PM
I have 2 data templates that are each bound to a different radPanelBarItem.  They both have checkboxes and I was wanting to change data templates when checked.  For example when I check a checkbox in the second radPanelBarItem it gets moved to the first radPanelBarItem and into its data template, as the data templates are different.  Thanks!


1 Answer, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 19 Nov 2009, 09:23 AM
Hello Kyle,

Can you please provide a bit more details about the scenario you are after? I believe there may be a better way to work it out. For example, having the additional elements you want to show when the checkbox is checked in the same DataTemplate and show them when necessary via container bindings. But again - I will need some more details in order to suggest alternative approach.

All the best,
Tihomir Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
PanelBar
Asked by
Kyle
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Share this question
or