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

RadTabWorkspace

2 Answers 84 Views
CAB Enabling Kit
This is a migrated thread and some comments may be shown as answers.
Jose Manuel Fernandez
Top achievements
Rank 1
Jose Manuel Fernandez asked on 10 Nov 2010, 03:21 PM
Hi all!

I´m currently working with Visual Studio 2010 and TCEK 2010.1.10.504. I´m not able to drag a RadTabWorkspace from the toolbox into the ShellLayout View, because under Telerik.CAB.Winforms Components Tab there are two smartpartinfo, a RadTabSmartPartInfo and a DockingSmartPartInfo, but I cannot see RadTabWorkspace component. What is what I'm doing wrong?

thank you in advance

2 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 15 Nov 2010, 10:30 PM
Hello Jose,

The RadTabWorkspace actually inherits from the old RadTabStrip control. The RadTabStrip has since been replaced with the RadPageView control and the team hid it from displaying in the toolbox in one of the past releases. Due to this, the RadTabWorkspace is inherently hidden from the toolbox as well. In order to get around this, you can modify the RadTabWorkspace.cs file in the TCEK to contain the ToolBoxItem(true) attribute.

[ToolboxItem(true)]
public class RadTabWorkspace : RadTabStrip, IComposableWorkspace<Control, RadTabSmartPartInfo>
{
   // ...
}

I hope this helps!

- Robert
0
Jose Manuel Fernandez
Top achievements
Rank 1
answered on 24 Nov 2010, 09:58 AM
Thank you very much Robert for your answer
Tags
CAB Enabling Kit
Asked by
Jose Manuel Fernandez
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Jose Manuel Fernandez
Top achievements
Rank 1
Share this question
or