Not able to set RadTabItem Header using template

2 posts, 0 answers
  1. Saravana Kumar
    Saravana Kumar avatar
    22 posts
    Member since:
    Jul 2006

    Posted 02 May 2010 Link to this post

    My Tab control configuration looks like this, its data bound to a ObservableCollection. The collection contains object of type UserControl with couple of properties. One property is QueryViewName which I wanted to display as tab item header.

    I'm able to achive this using DisplayMemebrPath attribute, however its not working with HeaderTemplate (you can see the commented code here).

    I would like to do it via HeaderTemplate, since I wanted to make the header editable. Any thoughts?




    telerik:RadTabControl ItemsSource="{Binding Path=Queries}"















    <Style TargetType="telerik:RadTabItem">

    <Setter Property="HeaderTemplate">



    <TextBlock Text="{Binding QueryViewName}"/>












  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 06 May 2010 Link to this post

    Hi Saravana Kumar,

    Please check this help article:

    You don't need to set the DisplayMemberPath in this case.

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top