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

Reg outlookbar dropdown

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kaarthikeyan
Top achievements
Rank 1
Kaarthikeyan asked on 20 Oct 2011, 06:59 AM
Hi,

I need to populate the dropdown menu available at the bottom of the Radoutlooktoolbar. The idea is to provide menus and submenus when the user clicks the dropdown menu (the small inverted triangle) currently am totally unable to do that. I used ItemDropDownContentTemplate to accomplish this. I used the following code snippet.

 

<

 

 

telerik:RadOutlookBar x:Name="RadOutlookBar1"

 

 

 

MaxWidth="760" ItemsSource="{Binding}"

 

 

 

ItemTemplate="{StaticResource BarTemplate}"

 

 

 

ContentTemplate="{StaticResource redefineoutlook}"

 

 

 

TitleTemplate="{StaticResource BarTemplate}"

 

 

 

Margin="0,0,330,0" ItemDropDownContentTemplate="{StaticResource BarTemplate}">

I am successfully able to populate the Itemtemplate,Content template and the Title templates however the ItemDropdownContentTemplate is the missing link.
Bartemplate is something like below:

 

 

 

 

<DataTemplate x:Key="BarTemplate" >

 

 

 

 

<TextBlock Text="{Binding Path=A}" FontWeight="Bold" />

 

 

 

 

</DataTemplate>

Note:This template works fine in Titletemplate, ItemTemplate. Have no clue why it is not working in ItemDropdownContentTemplate. Kindly advise me where am wrong. Also let me know if there is anyother way to accomplish my requirements. This is rather urgent I need to do this ASAP.

-Kaarthik(skmit87@gmail.com)

 

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 24 Oct 2011, 11:13 AM
Hello Kaarthikeyan,

 We replied to your question in this forum thread.

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Kaarthikeyan
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or