Reg outlookbar dropdown

2 posts, 0 answers
  1. Kaarthikeyan
    Kaarthikeyan avatar
    4 posts
    Member since:
    Sep 2011

    Posted 20 Oct 2011 Link to this post


    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" />






    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.



  2. Petar Mladenov
    Petar Mladenov avatar
    3152 posts

    Posted 24 Oct 2011 Link to this post

    Hello Kaarthikeyan,

     We replied to your question in this forum thread.

    Petar Mladenov
    the Telerik team

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

Back to Top