Hi,
I am using the RadPanelBar in my application. Previously i used Telerik Q1 and Silverlight 2.0. By using this every thing is perfect.
Now I am using Silverlight 3.0 and Telerik Q2 in my application.
My problem is, Dynamically the width of the RadPanel control is changing according to the Header Text lenght variation of RadPanelBarItems in Telerik Q2 . The coding is as follows:
<telerik:RadPanelBar x:Name="pb" Margin="2,2,2,2" Width="250" Foreground="Black" >
<telerik:RadPanelBarItem Name="pbiCustomerService" Tag="CSC" Selected="RadPanelBarItem_Selected" FontWeight="Bold" FontFamily="Verdana" FontSize="12" IsExpanded="True" Style="{StaticResource RadPanelBarItemStyle1}">
<telerik:RadPanelBarItem.Header>
<StackPanel Orientation="Horizontal">
<Image Stretch="Uniform" Width="30" Height="35" Margin="5,0,7,0" Source="../Images/IconCSC.png"/>
<TextBlock VerticalAlignment="Center" Text="Customer Service"/>
</StackPanel>
</telerik:RadPanelBarItem.Header>
</telerik:RadPanelBarItem>
<telerik:RadPanelBarItem FontWeight="Bold" Tag="SA" Selected="RadPanelBarItem_Selected" FontFamily="Verdana" FontSize="12" Style="{StaticResource RadPanelBarItemStyle1}">
<telerik:RadPanelBarItem.Header>
<StackPanel Orientation="Horizontal">
<Image Stretch="Uniform" Width="30" Height="35" Margin="5,0,7,0" Source="../Images/IconSysAdmin.png"/>
<TextBlock Text="System Administration" VerticalAlignment="Center"/>
</StackPanel>
</telerik:RadPanelBarItem.Header>
</telerik:RadPanelBarItem>
</telerik:RadPanelBar>
I had applied the MinWidth and MaxWidth property, but the width is not fixed.
I need to keep the RadPanelBar or RadPanelBarItem width should be fixed.
Can any body provide solution for this?
Thanks and regards,
Upendran.
I am using the RadPanelBar in my application. Previously i used Telerik Q1 and Silverlight 2.0. By using this every thing is perfect.
Now I am using Silverlight 3.0 and Telerik Q2 in my application.
My problem is, Dynamically the width of the RadPanel control is changing according to the Header Text lenght variation of RadPanelBarItems in Telerik Q2 . The coding is as follows:
<telerik:RadPanelBar x:Name="pb" Margin="2,2,2,2" Width="250" Foreground="Black" >
<telerik:RadPanelBarItem Name="pbiCustomerService" Tag="CSC" Selected="RadPanelBarItem_Selected" FontWeight="Bold" FontFamily="Verdana" FontSize="12" IsExpanded="True" Style="{StaticResource RadPanelBarItemStyle1}">
<telerik:RadPanelBarItem.Header>
<StackPanel Orientation="Horizontal">
<Image Stretch="Uniform" Width="30" Height="35" Margin="5,0,7,0" Source="../Images/IconCSC.png"/>
<TextBlock VerticalAlignment="Center" Text="Customer Service"/>
</StackPanel>
</telerik:RadPanelBarItem.Header>
</telerik:RadPanelBarItem>
<telerik:RadPanelBarItem FontWeight="Bold" Tag="SA" Selected="RadPanelBarItem_Selected" FontFamily="Verdana" FontSize="12" Style="{StaticResource RadPanelBarItemStyle1}">
<telerik:RadPanelBarItem.Header>
<StackPanel Orientation="Horizontal">
<Image Stretch="Uniform" Width="30" Height="35" Margin="5,0,7,0" Source="../Images/IconSysAdmin.png"/>
<TextBlock Text="System Administration" VerticalAlignment="Center"/>
</StackPanel>
</telerik:RadPanelBarItem.Header>
</telerik:RadPanelBarItem>
</telerik:RadPanelBar>
I had applied the MinWidth and MaxWidth property, but the width is not fixed.
I need to keep the RadPanelBar or RadPanelBarItem width should be fixed.
Can any body provide solution for this?
Thanks and regards,
Upendran.