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

RadPanelBar Question

0 Answers 49 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Mask
Top achievements
Rank 1
Mask asked on 08 Mar 2013, 09:52 PM
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinitions Width = "300" />
<ColumnDefinitions />
</Grid.ColumnDefinitions>
<telerik:RadPanelBar Grid.Column = "0" VerticalAlignment = "Stretch" ExpandMode = "Single">
<telerik:RadPanelBarItem>
<telerik:RadPanelBarItem.Header> <TextBlock Text = "Panel 1" /> </telerik:RadPanelBarItem.Header> <StackPanel VerticalAlignment = "Top">
<telerik:RadButton Name="Button1" Content = "Customer" Height = "50" />
<telerik:RadButton Name="Button2" Content = "Order" Height = "50" />
</StackPanel>
</telerik:RadPanelBarItem>
</telerik:RadPanelBar>

<ContentControl x:Name = "ContentContainer Margin = "8" Grid.Column = 1" />
</Grid>

Well, as you see I have RadPanelBar. When I select RadPanelBarItem I want to load some user control in ContentControl. In this example when I click "Button1" I want to load in ContentControl "Customer" UserControl, which I created, when I click "Button2" I want to load "Order" UserControl.


Can you help me how to do that??




No answers yet. Maybe you can help?

Tags
PanelBar
Asked by
Mask
Top achievements
Rank 1
Share this question
or