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

    Hi,
    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 - TabControlEditableHeaders.zip
    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????
    Thanks!!!!

  2. Miroslav
    Admin
    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:

    http://www.telerik.com/community/forums/silverlight/tabcontrol/editable-tab-header.aspx

    You can see the ContextMenu here in action:

    http://demos.telerik.com/silverlight/#ContextMenu/FirstLook

    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,
    Miroslav
    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.
  3. DevCraft banner
Back to Top