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

height issue in radpanel bar

1 Answer 48 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Manish Agarwal
Top achievements
Rank 1
Manish Agarwal asked on 08 Dec 2009, 05:24 AM
Hi

I am defining RADPanelBar , But it is not taking the height Like

 

 

<Grid>

 

 

 

<Grid.RowDefinitions>

 

 

 

<RowDefinition Height="Auto"></RowDefinition>

 

 

 

<RowDefinition Height="*"></RowDefinition>

 

 

 

</Grid.RowDefinitions>

 

 

 

 

 

 

<StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="0"></stackpanel>

 

 

 

<telerikNavigation:RadPanelBar HorizontalAlignment="Stretch" x:Name="EngagementList" Selected="EngagementListingPanel_Selected" PreviewCollapsed="EngagementList_PreviewCollapsed"

 

 

 

 

 

LayoutUpdated="EngagementList_LayoutUpdated" PreviewExpanded="EngagementList_PreviewExpanded" Style="{StaticResource RadPanelBarStyle}"

 

 

 

 

 

Grid.Column="0" Grid.Row="1">
Here i have defined the context menu...
</telerikNavigation:RadPanelBar>


Now the RADPanel Bar doesnot take the entire space left.
I want my context menu should appear everywhere in this space but i am not able to do so.

Please suggest

Regards
Charu Pahuja

 

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 09 Dec 2009, 08:59 AM
Hi Manish,

The default vertical alignment of RadPanelBar is Top, so try setting it to Stretch. I think this will fix the issue. 

<telerikNavigation:RadPanelBar HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                    x:Name="EngagementList" Selected="EngagementListingPanel_Selected"
                    PreviewCollapsed="EngagementList_PreviewCollapsed"
                    LayoutUpdated="EngagementList_LayoutUpdated"
                    PreviewExpanded="EngagementList_PreviewExpanded"
                    Style="{StaticResource RadPanelBarStyle}" Grid.Column="0" Grid.Row="1" />

Let me know if you have additional questions or comments.


Regards,
Kiril Stanoev
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
Manish Agarwal
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or