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

TabItems with different Templates

1 Answer 65 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 19 Nov 2012, 01:56 PM
Hi,

i'm using a RadPanelBar and a RadTabControl. Each RadPanelBarItem Add a RadTabItem. The Problem is, each PanelBarItem has
a different Template.

Example:
<telerik:RadPanelBaritem Header="Customer" />
Layout for the RadTabItem colud be a Grid .... with its own ViewModel (CustomerViewModel)

<telerik:RadPanelBaritem Header="Company" />
Layout for tje RadTabitem could be a Stackpanel. ... with it's own VieModel (CompanyViewModel)
...
...

How do i create a New TabItem  with different Templates?

Thanks
Best Regards
Rene

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 21 Nov 2012, 02:34 PM
Hello Rene,

Can you please provide us with more information about your scenario? Do you use data-binding scenario? How are these controls coupled together? Do you have RadTabItems inside RadPanelBarItems or the other way around? Some pictures or sample project will be much appreciated.

Meanwhile please take a look at this online demonstration project and let me know if you want something similar to it.

Kind regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TabControl
Asked by
ITA
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or