How to editable the tab item header?

2 posts, 0 answers
  1. ruty
    ruty avatar
    42 posts
    Member since:
    Mar 2009

    Posted 27 Apr 2009 Link to this post

    I have RadTabControl with items.
    every item hold DataGrid.

    I'd like that the header will be editable - the user will be able to change the header (on double click and by contextMenu) (like in Exel).
    I tried to use your code -
    but -
    its change the contents items too, and I want to change only the header!!!!
    How can I do it? can you give me please the relevant code or explain me how to use with this code????

  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 28 Apr 2009 Link to this post

    Hello ruty,

    I answered to a similar thread on how to set different templates for the header/content here:

    You can see the ContextMenu here in action:

    It will work very similarly in the TabControl, you can event bind it to a collection of items on your ViewModel (the items that you bind to).

    Please come back to us if you need more help.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top