This is a migrated thread and some comments may be shown as answers.
How to editable the tab item header?
1 Answer 28 Views
This is a migrated thread and some comments may be shown as answers.
ruty
Top achievements
Rank 1
ruty asked on 27 Apr 2009, 10:18 AM
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!!!!

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 28 Apr 2009, 10:54 AM
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.
Asked by
ruty
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or