RadTabWorkspace

3 posts, 0 answers
  1. Jose Manuel Fernandez
    Jose Manuel Fernandez avatar
    3 posts
    Member since:
    Apr 2010

    Posted 10 Nov 2010 Link to this post

    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. Robert
    Robert avatar
    82 posts
    Member since:
    Jun 2009

    Posted 15 Nov 2010 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jose Manuel Fernandez
    Jose Manuel Fernandez avatar
    3 posts
    Member since:
    Apr 2010

    Posted 24 Nov 2010 Link to this post

    Thank you very much Robert for your answer
Back to Top