memu on header

3 posts, 0 answers
  1. IxReveal
    IxReveal avatar
    7 posts
    Member since:
    Jan 2011

    Posted 20 Jan 2011 Link to this post

    Is there  a way to easily attach a template to the header itself. Can u point me to an example that could help. we want to attach context menus to the headers so the user can right click. I found the code for your header context menu for a gridview but this places all the menu handlers in the attached behavior.
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 21 Jan 2011 Link to this post

    Hello,

     You can use Header property directly or re-template the header row in Blend.

    Regards,
    Vlad
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. IxReveal
    IxReveal avatar
    7 posts
    Member since:
    Jan 2011

    Posted 23 Jan 2011 Link to this post

     

     Thanks for the template issue, I tried using the attached behavior by adding

    telerikGridViewHeaderMenu:GridViewHeaderMenu.IsEnabled="True"

    Then I modified the code and changed all references of GridView to RadTreeListView and then when I click on a heading I get the exception:

    Element is already a child of another element

    Do u have an example that adds memus to the header of a TreeListView

Back to Top