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.