This is a migrated thread and some comments may be shown as answers.

Cut and Paste

1 Answer 29 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 16 Apr 2009, 03:51 PM
I would like to cut and paste a chunk from one tab to another. Is this possible.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Apr 2009, 08:26 AM
Hello Ken,

Thank you for writing. This is not possible with simple cut&paste (the design time support for this action is quite complex and heavy).
 
But this is possible very easy with manual editing of Form Designer.cs (or Designer.vb). You should manually remove - from the desired CommandTab Items.Add - the desired chunk. Please see the code below:

radRibbonBarCommandTab2.Items.AddRange(new Telerik.WinControls.RadItem[] { 
            this.radRibbonBarChunk2, //remove this item from here 
 
and add Chunk into other radRibbonBarCommandTab2.Items 
radRibbonBarCommandTab5.Items.AddRange(new Telerik.WinControls.RadItem[] { 
            this.radRibbonBarChunk2, //remove this item from here 

If you create Ribbon with RadContols 2009 Q1 version radRibbonBarChunk2 will be named RadRibbonBarGroup2.

Hope this helps.

Greetings,
Peter
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.
Tags
RibbonBar
Asked by
Ken
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or