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

Docking and RadMenu (not context) question

1 Answer 9 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Piyush Bhatt
Top achievements
Rank 2
Piyush Bhatt asked on 12 Sep 2012, 11:21 AM
Anyhow, this may be basic question but need to put in RadMenu and Docking on the page. What is the best way to do this? and what are the wrapper controls to do this?

> I used Grid and put menu in row 1 and docking in row2 - but that hides the menu and only shows docking
> should i use <stackpanel> for RadMenu and then Docking? In that case Docking does not stretch to remaining height/width. And it asks to use allowunsafemode for docking
> should I put the RadMenu within the first pane of Docking and then dock it at the top? But the RadPane always has the header bar and cannot get rid of that bar.
- any other way?

What is the best way do this?

-Piyush Bhatt

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 17 Sep 2012, 08:47 AM
Hi Piyush,

It seems like the bast way to achieve that for your scenario is to use Grid with Rows:
<Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        <telerik:RadMenu VerticalAlignment="Top" Grid.Row="0">
        ........................................

I am attaching a simple project showing how you can achieve that. It would be great if you can check it out and let us know if this works for you.


Greetings,
Georgi
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
Docking
Asked by
Piyush Bhatt
Top achievements
Rank 2
Answers by
Georgi
Telerik team
Share this question
or